Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for path + unaliasedpath in lists
This one fails on a525e5b: ``` 1) GraphQL\Tests\Type\ResolveInfoTest::testPathAndUnaliasedPathForList Failed asserting that two arrays are identical. --- Expected +++ Actual @@ @@ 'scalar1' => 'path: level1.level2.0.scalar1, unaliasedPath: level1.level2.0.scalar1', ], 1 => Array &5 [ - 'scalar1' => 'path: level1.level2.1.scalar1, unaliasedPath: level1.level2.1.scalar1', + 'scalar1' => 'path: level1.level2.1.scalar1, unaliasedPath: level1.level2.0.1.scalar1', ], 2 => Array &6 [ - 'scalar1' => 'path: level1.level2.2.scalar1, unaliasedPath: level1.level2.2.scalar1', + 'scalar1' => 'path: level1.level2.2.scalar1, unaliasedPath: level1.level2.0.1.2.scalar1', ], ], 'level1000' => Array &7 [ @@ @@ 'scalar2' => 'path: level1.level1000.0.scalar2, unaliasedPath: level1.level2.0.scalar2', ], 1 => Array &9 [ - 'scalar2' => 'path: level1.level1000.1.scalar2, unaliasedPath: level1.level2.1.scalar2', + 'scalar2' => 'path: level1.level1000.1.scalar2, unaliasedPath: level1.level2.0.1.scalar2', ], 2 => Array &10 [ - 'scalar2' => 'path: level1.level1000.2.scalar2, unaliasedPath: level1.level2.2.scalar2', + 'scalar2' => 'path: level1.level1000.2.scalar2, unaliasedPath: level1.level2.0.1.2.scalar2', ], ], ], ], ] ``` And succeeds on 4ddba16 ``` OK (1 test, 1 assertion) ````
- Loading branch information