Skip to content

Commit 7d9eee9

Browse files
exaby73transistive
authored andcommitted
fix: Expected exception message for CI
1 parent a20cc6f commit 7d9eee9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Functional/IntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public function testDsn(): void
8383
$container = static::getContainer();
8484

8585
$this->expectException(\RuntimeException::class);
86-
$this->expectExceptionMessage(
87-
"Cannot connect to any server on alias: neo4j_undefined_configs with Uris: ('bolt://localhost')"
86+
$this->expectExceptionMessageMatches(
87+
"/Cannot connect to any server on alias: neo4j_undefined_configs with Uris: \('bolt:\/\/(localhost|localhostt)'\)/"
8888
);
8989

9090
/**

0 commit comments

Comments
 (0)