IntrospectionQueryTest updated.

This commit is contained in:
Geoff Taylor
2020-01-28 14:07:33 -05:00
parent 24a7238a86
commit abeadc8d22
+2 -2
View File
@@ -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 );