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 24a7238 commit abeadc8Copy full SHA for abeadc8
tests/wpunit/IntrospectionQueryTest.php
@@ -20,8 +20,8 @@ public function tearDown() {
20
// Validate schema.
21
public function testSchema() {
22
try {
23
- $schema = \WPGraphQL::get_schema();
24
- $schema->assertValid();
+ $request = new \WPGraphQL\Request();
+ $request->schema->assertValid();
25
26
// Assert true upon success.
27
$this->assertTrue( true );
0 commit comments