Skip to content

Commit a39b5b2

Browse files
committed
Fix stale namespace in NodeDirectiveDBTest
The resolver reference still pointed to the pre-2021 namespace Tests\Integration\Schema, causing schema building to fail with webonyx/graphql-php v15.31.x which validates resolver classes eagerly. 🤖 Generated with Claude Code
1 parent aa0140c commit a39b5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/GlobalId/NodeDirectiveDBTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function testUnknownNodeType(): void
133133
public function testTypeWithoutNodeDirective(): void
134134
{
135135
$this->schema .= /** @lang GraphQL */ <<<'GRAPHQL'
136-
type User @node(resolver: "Tests\\Integration\\Schema\\NodeDirectiveDBTest@resolveNode") {
136+
type User @node(resolver: "Tests\\Integration\\GlobalId\\NodeDirectiveDBTest@resolveNode") {
137137
name: String!
138138
}
139139

0 commit comments

Comments
 (0)