mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
* fix: Product Attribute naming conventions changed * devops: dev dependencies updated * devops: dev dependencies updated * devops: dev dependencies updated * devops: Dockerfile updated * devops: dev dependencies updated * devops: dev dependencies updated * devops: dev dependencies updated * devops: Dockerfile updated * chore: Docker composer configurations updated * chore: Coding standards met.
27 lines
889 B
PHP
27 lines
889 B
PHP
<?php
|
|
/**
|
|
* Disable autoloading while running tests, as the test
|
|
* suite already bootstraps the autoloader and creates
|
|
* fatal errors when the autoloader is loaded twice
|
|
*/
|
|
if ( ! defined( 'GRAPHQL_DEBUG' ) ) {
|
|
define( 'GRAPHQL_DEBUG', true );
|
|
}
|
|
|
|
if ( ! defined( 'WPGRAPHQL_WOOCOMMERCE_AUTOLOAD' ) && false !== getenv( 'WPGRAPHQL_WOOCOMMERCE_AUTOLOAD' ) ) {
|
|
define( 'WPGRAPHQL_WOOCOMMERCE_AUTOLOAD', true );
|
|
}
|
|
|
|
if ( ! defined( 'GRAPHQL_JWT_AUTH_SECRET_KEY' ) ) {
|
|
define( 'GRAPHQL_JWT_AUTH_SECRET_KEY', 'testingtesting123' );
|
|
}
|
|
|
|
if ( ! defined( 'STRIPE_API_PUBLISHABLE_KEY' ) && false !== getenv( 'STRIPE_API_PUBLISHABLE_KEY' ) ) {
|
|
define( 'STRIPE_API_PUBLISHABLE_KEY', getenv( 'STRIPE_API_PUBLISHABLE_KEY' ) );
|
|
}
|
|
|
|
if ( ! defined( 'STRIPE_API_SECRET_KEY' ) && false !== getenv( 'STRIPE_API_SECRET_KEY' ) ) {
|
|
define( 'STRIPE_API_SECRET_KEY', getenv( 'STRIPE_API_SECRET_KEY' ) );
|
|
}
|
|
|