Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Commit

Permalink
Merge pull request graphql-go#79 from graphql-go/chris_issue_78
Browse files Browse the repository at this point in the history
updates a couple of validator test queries
  • Loading branch information
chris-ramon committed Nov 24, 2015
2 parents d7593b6 + 21ee236 commit 54d79ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rules_arguments_of_correct_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ func TestValidate_ArgValuesOfCorrectType_ValidInputObjectValue_PartialObject_Inc
testutil.ExpectPassesRule(t, graphql.ArgumentsOfCorrectTypeRule, `
{
complicatedArgs {
complexArgField(complexArg: { requiredField: false })
complexArgField(complexArg: { requiredField: false, intField: 4 })
}
}
`)
Expand Down
5 changes: 2 additions & 3 deletions rules_unique_operation_names_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ func TestValidate_UniqueOperationNames_MultipleOperationsOfDifferentTypes(t *tes
func TestValidate_UniqueOperationNames_FragmentAndOperationNamedTheSame(t *testing.T) {
testutil.ExpectPassesRule(t, graphql.UniqueOperationNamesRule, `
query Foo {
field
...Foo
}
mutation Bar {
fragment Foo on Type {
field
}
`)
Expand Down

0 comments on commit 54d79ca

Please sign in to comment.