mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
* chore: QLSessionHandlerTest added * chore: WPCS compliance met * fix: JWT leeway set in unit test * fix: Docker environment salts updated * fix: salts restored * chore: WPCS compliance met * chore: JWT::leeway removed from tests * devops: Uncommented assertion in QLSessionHandlerTest * chore: WPCS compliance met
14 lines
228 B
PHP
14 lines
228 B
PHP
<?php
|
|
|
|
// Turn off "QL_SESSION_HANDLER" for unit tests.
|
|
//define( 'NO_QL_SESSION_HANDLER', true );
|
|
|
|
add_filter(
|
|
'graphql_request_results',
|
|
function( $response ) {
|
|
unset( $response['extensions'] );
|
|
|
|
return $response;
|
|
}
|
|
);
|