Skip to content

Commit 439a592

Browse files
committed
made IP address impossible during negative connection test
1 parent 083ea64 commit 439a592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/BoltDriverIntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function testValidUrl(): void
9090
*/
9191
public function testInvalidIp(): void
9292
{
93-
$driver = BoltDriver::create('bolt://neo4j:test@127.0.0.0');
93+
$driver = BoltDriver::create('bolt://neo4j:test@999.999.999.999');
9494
$this->expectException(ConnectException::class);
9595
$driver->createSession()->run('RETURN 1');
9696
}
@@ -100,7 +100,7 @@ public function testInvalidIp(): void
100100
*/
101101
public function testInvalidSocket(): void
102102
{
103-
$driver = BoltDriver::create('bolt://neo4j:test@127.0.0.0');
103+
$driver = BoltDriver::create('bolt://neo4j:test@999.999.999.999');
104104
$this->expectException(ConnectException::class);
105105
$driver->createSession()->run('RETURN 1');
106106
}

0 commit comments

Comments
 (0)