Skip to content

Commit aedbe1a

Browse files
StreamSocket instead of Socket
1 parent 0d36c85 commit aedbe1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/helpers/ClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private function setUpClient($logHandler = null, $errorHandler = null): Client
3131
{
3232
$testsuite = $this->getTestSuite();
3333

34-
$conn = new \Bolt\connection\Socket('127.0.0.1', 7687);
34+
$conn = new \Bolt\connection\StreamSocket('127.0.0.1', 7687);
3535
$bolt = new \Bolt\Bolt($conn);
3636
return new Client($bolt->build(), $testsuite === 'Neo4j' ? [
3737
'scheme' => 'basic',
@@ -65,7 +65,7 @@ public function testErrorHandler(): void
6565
$this->markTestSkipped('This test is only executed with Neo4j, skipping.');
6666
}
6767

68-
$conn = new \Bolt\connection\Socket('127.0.0.1', 7687);
68+
$conn = new \Bolt\connection\StreamSocket('127.0.0.1', 7687);
6969
$bolt = new \Bolt\Bolt($conn);
7070
$this->expectException(Exception::class);
7171
$client = new Client($bolt->build(), [

0 commit comments

Comments
 (0)