We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2736333 commit f451835Copy full SHA for f451835
tests/_data/config.php
@@ -1 +1,5 @@
1
define( 'GRAPHQL_JWT_AUTH_SECRET_KEY', 'test-token' );
2
+define( 'GRAPHQL_DEBUG', true );
3
+define( 'WPGRAPHQL_AUTOLOAD', false );
4
+define( 'WP_AUTO_UPDATE_CORE', false );
5
+define( 'AUTOMATIC_UPDATER_DISABLED', true );
tests/wpunit/AuthenticationTest.php
@@ -21,6 +21,7 @@ public function setUp(): void {
21
22
$_SERVER['HTTP_AUTHORIZATION'] = 'Bearer goo';
23
24
+ add_filter( 'graphql_debug_enabled', '__return_true' );
25
add_filter( 'graphql_jwt_auth_secret_key', function() {
26
return 'your-secret-token';
27
});
0 commit comments