You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: Assertion was not enabled on my php env. All good :)
Hello :) Hope you're going well.
I'm trying to implement an RFC, so I fork the repo, install dep and to ensure that everything is working I run composer test.
But I got 7 failures. And since I didn't make any modification to the code, I don't understand what happen !
1) GraphQL\Tests\Executor\AbstractTest::testWarnsAboutOrphanedTypesWhenMissingType
Failed asserting that null is an instance of class GraphQL\Error\Error.
/home/maelito_p/dev/graphql-php/tests/Executor/AbstractTest.php:631
2) GraphQL\Tests\Executor\AbstractTest::testHintsOnConflictingTypeInstancesInResolveType
Failed asserting that null is an instance of class GraphQL\Error\Error.
/home/maelito_p/dev/graphql-php/tests/Executor/AbstractTest.php:764
3) GraphQL\Tests\Executor\ExecutorLazySchemaTest::testHintsOnConflictingTypeInstancesInDefinitions
Failed asserting that two arrays are identical.
--- Expected+++ Actual@@ @@
Array &0 [
0 => 'Test',
- 1 => 'Test',
]
/home/maelito_p/dev/graphql-php/tests/Executor/ExecutorLazySchemaTest.php:182
4) GraphQL\Tests\Executor\ExecutorLazySchemaTest::testSimpleQuery
Failed asserting that two arrays are identical.
--- Expected+++ Actual@@ @@
Array &0 [
0 => 'Query.fields',
- 1 => 'SomeObject',- 2 => 'SomeObject.fields',+ 1 => 'SomeObject.fields',
]
/home/maelito_p/dev/graphql-php/tests/Executor/ExecutorLazySchemaTest.php:218
5) GraphQL\Tests\Executor\ExecutorLazySchemaTest::testDeepQuery
Failed asserting that two arrays are identical.
--- Expected+++ Actual@@ @@
Array &0 [
0 => 'Query.fields',
- 1 => 'SomeObject',- 2 => 'SomeObject.fields',+ 1 => 'SomeObject.fields',
]
/home/maelito_p/dev/graphql-php/tests/Executor/ExecutorLazySchemaTest.php:391
6) GraphQL\Tests\Executor\ExecutorLazySchemaTest::testResolveUnion
Failed asserting that two arrays are identical.
--- Expected+++ Actual@@ @@
Array &0 [
0 => 'Query.fields',
- 1 => 'OtherObject',- 2 => 'OtherObject.fields',- 3 => 'SomeUnion',- 4 => 'SomeUnion.resolveType',- 5 => 'SomeUnion.types',- 6 => 'DeeperObject',- 7 => 'SomeScalar',+ 1 => 'OtherObject.fields',+ 2 => 'SomeUnion.resolveType',+ 3 => 'SomeUnion.types',
]
/home/maelito_p/dev/graphql-php/tests/Executor/ExecutorLazySchemaTest.php:446
7) GraphQL\Tests\Type\DefinitionTest::testRejectsASchemaWithSameNamedObjectsImplementingAnInterface
Failed asserting that exception with message matching "/Schema must contain unique named types but contains multiple types named "BadObject"/" is thrown
FAILURES!
Tests: 1788, Assertions: 20911, Failures: 7, Warnings: 1, Skipped: 8, Incomplete: 7.
Is there a chance that test on origin are broken ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Update: Assertion was not enabled on my php env. All good :)
Hello :) Hope you're going well.
I'm trying to implement an RFC, so I fork the repo, install dep and to ensure that everything is working I run composer test.
But I got 7 failures. And since I didn't make any modification to the code, I don't understand what happen !
Is there a chance that test on origin are broken ?
Thank you for you time !
Maëlito
Everything is good
Beta Was this translation helpful? Give feedback.
All reactions