Skip to content

Commit

Permalink
Fix tests using invalid GraphQL schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnStarich committed Jun 22, 2024
1 parent f4a92d4 commit 7d93de4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions merge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
`,
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 7d93de4

Please sign in to comment.