mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-03-12 15:56:06 +03:00
fix tests typo
This commit is contained in:
parent
b9550d3ecb
commit
c51dda097a
@ -236,12 +236,12 @@ class ResolveInfoTest extends \PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
fragment Replies01 on article {
|
fragment Replies01 on article {
|
||||||
_replies01: replies {
|
_replies012: replies {
|
||||||
body
|
body
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fragment Replies02 on article {
|
fragment Replies02 on article {
|
||||||
_replies02: replies {
|
_replies012: replies {
|
||||||
author {
|
author {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
@ -279,7 +279,7 @@ class ResolveInfoTest extends \PHPUnit_Framework_TestCase
|
|||||||
'height' => true,
|
'height' => true,
|
||||||
'url' => true
|
'url' => true
|
||||||
],
|
],
|
||||||
'replies' => [
|
'_replies02' => [
|
||||||
'body' => true, //this would be missing if not for the fix https://github.com/webonyx/graphql-php/pull/98
|
'body' => true, //this would be missing if not for the fix https://github.com/webonyx/graphql-php/pull/98
|
||||||
'author' => [
|
'author' => [
|
||||||
'id' => true,
|
'id' => true,
|
||||||
@ -325,4 +325,6 @@ class ResolveInfoTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->assertEquals($expectedDefaultSelection, $actualDefaultSelection);
|
$this->assertEquals($expectedDefaultSelection, $actualDefaultSelection);
|
||||||
$this->assertEquals($expectedDeepSelection, $actualDeepSelection);
|
$this->assertEquals($expectedDeepSelection, $actualDeepSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user