summaryrefslogtreecommitdiff
path: root/tests/Test/StarWars/QueryTests.hs
diff options
context:
space:
mode:
authorDanny Navarro <j@dannynavarro.net>2016-12-18 11:43:45 -0300
committerDanny Navarro <j@dannynavarro.net>2016-12-18 11:43:45 -0300
commitaa66236081bff41ff7cea6cceac8d19095020763 (patch)
tree2af57f18393e7f1eae8fb7bf923094c764f45647 /tests/Test/StarWars/QueryTests.hs
parentafb2fc4eb999578bdd1823e854a3c5328715ed6a (diff)
downloadgraphql-aa66236081bff41ff7cea6cceac8d19095020763.tar.gz
Add homePlanet to test schema
Diffstat (limited to 'tests/Test/StarWars/QueryTests.hs')
-rw-r--r--tests/Test/StarWars/QueryTests.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/Test/StarWars/QueryTests.hs b/tests/Test/StarWars/QueryTests.hs
index dee9929..85a15a9 100644
--- a/tests/Test/StarWars/QueryTests.hs
+++ b/tests/Test/StarWars/QueryTests.hs
@@ -18,8 +18,6 @@ import Test.StarWars.Schema
-- * Test
-- See https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsQueryTests.js
-
-
test :: TestTree
test = testGroup "Star Wars Query Tests"
[ testGroup "Basic Queries"
@@ -206,7 +204,7 @@ test = testGroup "Star Wars Query Tests"
, "leia" .= object [leiaName]
]]
, testGroup "Fragments for complex queries"
- [ testCase "Aliases to query for duplicate content" . testQuery
+ [ testCase "Aliases to query for duplicate content" . testQuery
[r| query DuplicateFields {
luke: human(id: "1000") {
name