summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-10-03 07:34:34 +0200
committerEugen Wissner <belka@caraus.de>2020-10-03 07:34:34 +0200
commitd5f518fe827d3d279d6c37740820f296689539e4 (patch)
treef3b6fa3a397d0e9357fe77bb01373902890b1014 /tests
parent6daae8a5219f62de98b4a65788e436fb1eac8cba (diff)
downloadgraphql-d5f518fe827d3d279d6c37740820f296689539e4.tar.gz
Validate required arguments
Diffstat (limited to 'tests')
-rw-r--r--tests/Language/GraphQL/ValidateSpec.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Language/GraphQL/ValidateSpec.hs b/tests/Language/GraphQL/ValidateSpec.hs
index 6bf0a04..60e717a 100644
--- a/tests/Language/GraphQL/ValidateSpec.hs
+++ b/tests/Language/GraphQL/ValidateSpec.hs
@@ -550,7 +550,7 @@ spec =
let queryString = [r|
{
dog {
- doesKnowCommand(command: CLEAN_UP_HOUSE)
+ doesKnowCommand(command: CLEAN_UP_HOUSE, dogCommand: SIT)
}
}
|]
@@ -566,7 +566,7 @@ spec =
let queryString = [r|
{
dog {
- isHousetrained(atOtherHomes: true) @include(unless: false)
+ isHousetrained(atOtherHomes: true) @include(unless: false, if: true)
}
}
|]