Skip to content

Commit abeadc8

Browse files
committed
IntrospectionQueryTest updated.
1 parent 24a7238 commit abeadc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/wpunit/IntrospectionQueryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public function tearDown() {
2020
// Validate schema.
2121
public function testSchema() {
2222
try {
23-
$schema = \WPGraphQL::get_schema();
24-
$schema->assertValid();
23+
$request = new \WPGraphQL\Request();
24+
$request->schema->assertValid();
2525

2626
// Assert true upon success.
2727
$this->assertTrue( true );

0 commit comments

Comments
 (0)