Skip to content

Commit 17d0497

Browse files
committed
fixed tests
1 parent 81c10f9 commit 17d0497

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/Unit/CypherMapTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use Generator;
1717
use InvalidArgumentException;
1818
use IteratorAggregate;
19+
use Laudis\Neo4j\Types\ArrayList;
1920
use function json_encode;
2021
use const JSON_THROW_ON_ERROR;
2122
use Laudis\Neo4j\Databags\Pair;
@@ -388,17 +389,17 @@ public function testXor(): void
388389

389390
public function testValue(): void
390391
{
391-
self::assertEquals(new CypherList(['x', 'y', 'z']), $this->map->values());
392+
self::assertEquals(new ArrayList(['x', 'y', 'z']), $this->map->values());
392393
}
393394

394395
public function testKeys(): void
395396
{
396-
self::assertEquals(new CypherList(['A', 'B', 'C']), $this->map->keys());
397+
self::assertEquals(new ArrayList(['A', 'B', 'C']), $this->map->keys());
397398
}
398399

399400
public function testPairs(): void
400401
{
401-
$list = new CypherList([new Pair('A', 'x'), new Pair('B', 'y'), new Pair('C', 'z')]);
402+
$list = new ArrayList([new Pair('A', 'x'), new Pair('B', 'y'), new Pair('C', 'z')]);
402403
self::assertEquals($list, $this->map->pairs());
403404
}
404405

0 commit comments

Comments
 (0)