Skip to content

Commit

Permalink
fix: Expected exception message for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
exaby73 committed Aug 14, 2024
1 parent 0de2bcb commit 1e808d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Functional/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public function testDsn(): void
$container = static::getContainer();

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

/**
Expand Down

0 comments on commit 1e808d5

Please sign in to comment.