Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
fix
  • Loading branch information
epourail committed Aug 8, 2023
commit d161ef857dca504e4bdc66ce1d1f2edf6332f837
4 changes: 2 additions & 2 deletions tests/GraphQl/ExecutorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testEnableIntrospectionQuery(): void
$executor = new Executor(true);

$expected = new DisableIntrospection(DisableIntrospection::ENABLED);
$this->assertIsObject($executor);
$this->assertNotNull($executor);
$this->assertEquals($expected, DocumentValidator::getRule('DisableIntrospection'));
}

Expand All @@ -37,7 +37,7 @@ public function testDisableIntrospectionQuery(): void
$executor = new Executor(false);

$expected = new DisableIntrospection(DisableIntrospection::DISABLED);
$this->assertIsObject($executor);
$this->assertNotNull($executor);
$this->assertEquals($expected, DocumentValidator::getRule('DisableIntrospection'));
}
}