diff --git a/tests/ExecutionTest.php b/tests/ExecutionTest.php index f50f36e..e236697 100644 --- a/tests/ExecutionTest.php +++ b/tests/ExecutionTest.php @@ -47,11 +47,15 @@ public function testExecution(): void <<<'SDL' type Query { dummy: String! - dummy_object: DummyObject! + dummy_object: CustomInterface! dummy_error: String } -type DummyObject { +interface CustomInterface { + dummy: String! +} + +type DummyObject implements CustomInterface { dummy: String! } SDL