summaryrefslogtreecommitdiff
path: root/tests/Test/StarWars/QueryTests.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-06-27 08:00:59 +0200
committerEugen Wissner <belka@caraus.de>2019-06-27 08:00:59 +0200
commitae4038eb471030edd7261d04d8f170663475a2b7 (patch)
tree53fc8c19cd9a72f86af55b87831aa3746e1bd76c /tests/Test/StarWars/QueryTests.hs
parent3cc38343dbcbe724fa27807af66189370e4a54ff (diff)
downloadgraphql-ae4038eb471030edd7261d04d8f170663475a2b7.tar.gz
Restore error handling
Diffstat (limited to 'tests/Test/StarWars/QueryTests.hs')
-rw-r--r--tests/Test/StarWars/QueryTests.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/Test/StarWars/QueryTests.hs b/tests/Test/StarWars/QueryTests.hs
index 3dd6075..736f5b4 100644
--- a/tests/Test/StarWars/QueryTests.hs
+++ b/tests/Test/StarWars/QueryTests.hs
@@ -149,9 +149,6 @@ test = testGroup "Star Wars Query Tests"
name
}
}
- -- The GraphQL spec specifies that an error should be reported when the
- -- type of the argument is Non-Nullable. However the equivalent test in
- -- `graphql-js` doesn't check for any errors.
|] $ object ["data" .= object ["human" .= Aeson.Null]]
, testCase "Luke aliased" . testQuery
[r| query FetchLukeAliased {