From aa66236081bff41ff7cea6cceac8d19095020763 Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Sun, 18 Dec 2016 11:43:45 -0300 Subject: Add homePlanet to test schema --- tests/Test/StarWars/QueryTests.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/Test/StarWars/QueryTests.hs') 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 -- cgit v1.2.3