Skip to content

Commit e0b3abf

Browse files
committed
winp
1 parent 31031ee commit e0b3abf

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tests/Integration/Neo4jQueryAPIIntegrationTest.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use PHPUnit\Framework\Attributes\DataProvider;
1414
use PHPUnit\Framework\TestCase;
1515
use Neo4j\QueryAPI\Transaction;
16-
use Psr\Http\Client\RequestExceptionInterface;
1716

1817
class 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

0 commit comments

Comments
 (0)