File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1313use PHPUnit \Framework \Attributes \DataProvider ;
1414use PHPUnit \Framework \TestCase ;
1515use Neo4j \QueryAPI \Transaction ;
16- use Psr \Http \Client \RequestExceptionInterface ;
1716
1817class Neo4jQueryAPIIntegrationTest extends TestCase
1918{
@@ -427,16 +426,12 @@ public function testWithString(): void
427426 $ this ->assertCount (1 , $ results ->getBookmarks ());
428427 }
429428
430- /**
431- * @throws Neo4jException
432- * @throws RequestExceptionInterface
433- */
434429 public function testWithArray (): void
435430 {
436431 $ expected = new ResultSet (
437432 [
438- new ResultRow (['n.name ' => 'bob1 ' ]),
439- new ResultRow (['n.name ' => 'alicy ' ])
433+ new ResultRow (['n.name ' => 'alicy ' ]),
434+ new ResultRow (['n.name ' => 'bob1 ' ])
440435 ],
441436 new ResultCounters (
442437 containsUpdates: false ,
@@ -447,7 +442,8 @@ public function testWithArray(): void
447442 new Bookmarks ([])
448443 );
449444
450- $ results = $ this ->api ->run ('MATCH (n:Person) WHERE n.name IN $names RETURN n.name ' ,
445+ $ results = $ this ->api ->run (
446+ 'MATCH (n:Person) WHERE n.name IN $names RETURN n.name ' ,
451447 ['names ' => ['bob1 ' , 'alicy ' ]]
452448 );
453449
You can’t perform that action at this time.
0 commit comments