From c51dda097a463f2e8941e39f3ccda56bd4074f4a Mon Sep 17 00:00:00 2001 From: Decebal Dobrica Date: Thu, 16 Mar 2017 15:00:01 +0000 Subject: [PATCH] fix tests typo --- tests/Type/ResolveInfoTest.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/Type/ResolveInfoTest.php b/tests/Type/ResolveInfoTest.php index 9876f91..9a42b9f 100644 --- a/tests/Type/ResolveInfoTest.php +++ b/tests/Type/ResolveInfoTest.php @@ -236,12 +236,12 @@ class ResolveInfoTest extends \PHPUnit_Framework_TestCase } fragment Replies01 on article { - _replies01: replies { + _replies012: replies { body } } fragment Replies02 on article { - _replies02: replies { + _replies012: replies { author { id name @@ -279,7 +279,7 @@ class ResolveInfoTest extends \PHPUnit_Framework_TestCase 'height' => true, 'url' => true ], - 'replies' => [ + '_replies02' => [ 'body' => true, //this would be missing if not for the fix https://github.com/webonyx/graphql-php/pull/98 'author' => [ 'id' => true, @@ -325,4 +325,6 @@ class ResolveInfoTest extends \PHPUnit_Framework_TestCase $this->assertEquals($expectedDefaultSelection, $actualDefaultSelection); $this->assertEquals($expectedDeepSelection, $actualDeepSelection); } + + }