mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
IntrospectionQueryTest updated.
This commit is contained in:
@@ -20,8 +20,8 @@ class IntrospectionQueryTest extends \Codeception\TestCase\WPTestCase
|
||||
// Validate schema.
|
||||
public function testSchema() {
|
||||
try {
|
||||
$schema = \WPGraphQL::get_schema();
|
||||
$schema->assertValid();
|
||||
$request = new \WPGraphQL\Request();
|
||||
$request->schema->assertValid();
|
||||
|
||||
// Assert true upon success.
|
||||
$this->assertTrue( true );
|
||||
|
||||
Reference in New Issue
Block a user