summaryrefslogtreecommitdiff
path: root/tests/Test
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-07-05 14:36:00 +0200
committerEugen Wissner <belka@caraus.de>2020-07-05 14:36:00 +0200
commita6f9cec413c35abdcb0d04a5550334dd2fa7d472 (patch)
treeb16ce8fd038c02ec60664f60bba8d01b08d8d218 /tests/Test
parentb5157e141e765c1313050cc66a2a323b67f3da79 (diff)
downloadgraphql-a6f9cec413c35abdcb0d04a5550334dd2fa7d472.tar.gz
Handle errors using custom types
Fixes #32.
Diffstat (limited to 'tests/Test')
-rw-r--r--tests/Test/StarWars/QuerySpec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Test/StarWars/QuerySpec.hs b/tests/Test/StarWars/QuerySpec.hs
index cf451f8..4e48dbf 100644
--- a/tests/Test/StarWars/QuerySpec.hs
+++ b/tests/Test/StarWars/QuerySpec.hs
@@ -361,4 +361,4 @@ testQuery q expected = runIdentity (graphql schema q) `shouldBe` expected
testQueryParams :: Aeson.Object -> Text -> Aeson.Value -> Expectation
testQueryParams f q expected =
- runIdentity (graphqlSubs schema f q) `shouldBe` expected
+ runIdentity (graphqlSubs schema Nothing f q) `shouldBe` expected