Skip to content

Commit c4539d0

Browse files
stefanak-michaltransistive
authored andcommitted
we should do something about the open transaction
1 parent 09e1315 commit c4539d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Integration/ClientIntegrationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ public function testDifferentAuth(): void
4141

4242
public function testAvailabilityFullImplementation(): void
4343
{
44-
$results = $this->getSession()
45-
->beginTransaction()
44+
$transaction = $this->getSession()->beginTransaction();
45+
$results = $transaction
4646
->run('UNWIND [1] AS x RETURN x')
4747
->first()
4848
->get('x');
49-
49+
$transaction->rollback();
5050
self::assertEquals(1, $results);
5151
}
5252

0 commit comments

Comments
 (0)