From a6f9cec413c35abdcb0d04a5550334dd2fa7d472 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 5 Jul 2020 14:36:00 +0200 Subject: Handle errors using custom types Fixes #32. --- tests/Test/StarWars/QuerySpec.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Test/StarWars/QuerySpec.hs') 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 -- cgit v1.2.3