Skip to content

Commit

Permalink
fix notice in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Oct 15, 2024
1 parent 1d7cc8c commit 3fe4109
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/PHPUnit/System/EnvironmentValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ public function testBadDomainSpecificLocalConfigFileTriggersError($entryPoint)

private function assertOutputContainsConfigFileMissingError($fileName, $output)
{
$this->assertRegExp("/.*The configuration file \\{.*\\/" . preg_quote($fileName) . "\\} has not been found or could not be read\\..*/", $output, "Output did not contain the expected exception for $fileName --- Output was --- $output");
$this->assertRegExp(
"/.*The configuration file \\{.*\\/" . preg_quote($fileName) . "\\} has not been found or could not be read\\..*/",
(string) $output,
"Output did not contain the expected exception for $fileName --- Output was --- $output"
);
}

private function assertOutputContainsBadConfigFileError($output)
Expand Down

0 comments on commit 3fe4109

Please sign in to comment.