From c4949002e2b960dec9f49f682939f9595df4fb3a Mon Sep 17 00:00:00 2001 From: John Starich Date: Sat, 22 Jun 2024 16:58:46 -0500 Subject: [PATCH] Fix tests using invalid GraphQL schemas --- merge_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/merge_test.go b/merge_test.go index eec740c..4e9dede 100644 --- a/merge_test.go +++ b/merge_test.go @@ -278,7 +278,7 @@ func TestMergeSchema_objectTypes(t *testing.T) { ` directive @foo(url: String!) on OBJECT - type User @foo { + type User @foo(url: "bar") { firstName: String } `, @@ -321,14 +321,14 @@ func TestMergeSchema_objectTypes(t *testing.T) { { "Conflicting number of directive arguments", ` - directive @foo(url: String!, url2: String!) on FIELD_DEFINITION + directive @foo(url: String!, url2: String) on FIELD_DEFINITION type User { firstName: String! @foo(url: "3") } `, ` - directive @foo(url: String!, url2: String!) on FIELD_DEFINITION + directive @foo(url: String!, url2: String) on FIELD_DEFINITION type User { firstName: String! @foo(url: "3", url2: "3")