Skip to content

Commit 579cad4

Browse files
committed
made query more portable across versions
1 parent 3db039b commit 579cad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/ConsistencyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testConsistencyTransaction(): void
4242

4343
$tsx->commit([Statement::create('MERGE (n:bbb) SET n.name="bbb" return n')]);
4444

45-
$results = $this->getSession()->run('MATCH (n:aaa|ccc|bbb) RETURN n ORDER BY n.name', []);
45+
$results = $this->getSession()->run('MATCH (n) WHERE n.name = "aaa" OR n.name = "bbb" OR n.name = "ccc" RETURN n ORDER BY n.name');
4646

4747
self::assertEquals(3, $results->count());
4848
self::assertEquals(['name' => 'aaa'], $results->first()->getAsNode('n')->getProperties()->toArray());

0 commit comments

Comments
 (0)