Skip to content

Commit 112a55e

Browse files
committed
run query on session
1 parent 94754ed commit 112a55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/SummarizedResultFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function testAvailableAfter(): void
104104
public function testDateTime(): void
105105
{
106106
$dt = new DateTimeImmutable();
107-
$ls = $this->getClient()->run('RETURN $x AS x', ['x' => $dt])->first()->get('x');
107+
$ls = $this->getSession()->run('RETURN $x AS x', ['x' => $dt])->first()->get('x');
108108

109109
$this->assertInstanceOf(DateTimeZoneId::class, $ls);
110110
$this->assertEquals($dt, $ls->toDateTime());

0 commit comments

Comments
 (0)