We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b497e15 commit 3db039bCopy full SHA for 3db039b
tests/Integration/BoltDriverIntegrationTest.php
@@ -38,9 +38,13 @@ public function testValidHostname(): void
38
public function testValidUrl(): void
39
{
40
$ip = gethostbyname($this->getUri()->getHost());
41
- $results = BoltDriver::create($this->getUri()->withHost($ip)->__toString())
42
- ->createSession()
43
- ->run('RETURN 1 AS x');
+ try {
+ $results = BoltDriver::create($this->getUri()->withHost($ip)->__toString())
+ ->createSession()
44
+ ->run('RETURN 1 AS x');
45
+ } catch (ConnectException $e) {
46
+ $this->markTestSkipped($e->getMessage());
47
+ }
48
49
self::assertEquals(1, $results->first()->get('x'));
50
}
0 commit comments