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 13
13
use PHPUnit \Framework \Attributes \DataProvider ;
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Neo4j \QueryAPI \Transaction ;
16
- use Psr \Http \Client \RequestExceptionInterface ;
17
16
18
17
class Neo4jQueryAPIIntegrationTest extends TestCase
19
18
{
@@ -427,16 +426,12 @@ public function testWithString(): void
427
426
$ this ->assertCount (1 , $ results ->getBookmarks ());
428
427
}
429
428
430
- /**
431
- * @throws Neo4jException
432
- * @throws RequestExceptionInterface
433
- */
434
429
public function testWithArray (): void
435
430
{
436
431
$ expected = new ResultSet (
437
432
[
438
- new ResultRow (['n.name ' => 'bob1 ' ]),
439
- new ResultRow (['n.name ' => 'alicy ' ])
433
+ new ResultRow (['n.name ' => 'alicy ' ]),
434
+ new ResultRow (['n.name ' => 'bob1 ' ])
440
435
],
441
436
new ResultCounters (
442
437
containsUpdates: false ,
@@ -447,7 +442,8 @@ public function testWithArray(): void
447
442
new Bookmarks ([])
448
443
);
449
444
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 ' ,
451
447
['names ' => ['bob1 ' , 'alicy ' ]]
452
448
);
453
449
You can’t perform that action at this time.
0 commit comments