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 6651192 commit acf64a4Copy full SHA for acf64a4
tests/FunctionalFactoryTest.php
@@ -61,7 +61,9 @@ public function testOpenReturnsPromiseWhichRejectsWithExceptionWhenPathIsInvalid
61
echo 'Error: ' . $e->getMessage() . PHP_EOL;
62
});
63
64
- $this->expectOutputString('Error: Unable to open database: unable to open database file' . PHP_EOL);
+ // Unable to open database: unable to open database file
65
+ // Unable to open database: bad parameter or other API misuse (only between PHP 7.4.0 and PHP 7.4.7 as per https://3v4l.org/9SjgK)
66
+ $this->expectOutputRegex('/^' . preg_quote('Error: Unable to open database: ', '/') . '.*$/');
67
Loop::run();
68
}
69
0 commit comments