Skip to content

Commit 7c70950

Browse files
committed
fix: Close all connections before testing logger
1 parent 61de1a8 commit 7c70950

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Integration/Neo4jLoggerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ class Neo4jLoggerTest extends EnvironmentAwareIntegrationTest
2424
{
2525
public function testLogger(): void
2626
{
27+
// Close connections so that we can test the logger logging
28+
// during authentication while acquiring a new connection
29+
$this->driver->closeConnections();
30+
2731
/** @var MockObject $logger */
2832
$logger = $this->getNeo4jLogger()->getLogger();
2933
/** @var Session $session */

0 commit comments

Comments
 (0)