Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
facecrusher committed Dec 18, 2023
1 parent 2232285 commit 4b5e459
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,6 @@ func TestServiceQuery(t *testing.T) {
}
`).assertInvalid("the Query type is missing the 'service' field", ValidateSchema)
})

}

func TestRootObjectNaming(t *testing.T) {
Expand Down Expand Up @@ -515,7 +514,7 @@ func TestSchemaValidAfterMerge(t *testing.T) {
type Mutation {
service: Service!
}`).assertInvalid("schema will become invalid after merge operation: merged schema:3: Undefined type Service.", validateSchemaValidAfterMerge)
}`).assertInvalid("schema will become invalid after merge operation: merged schema:2: Undefined type Service.", validateSchemaValidAfterMerge)
})

t.Run("valid schema with empty Query type", func(t *testing.T) {
Expand Down

0 comments on commit 4b5e459

Please sign in to comment.