mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +00:00
Replace expectExceptionMessageRegExp()
with expectExceptionMessageMatches()
This commit is contained in:
parent
280d0ee961
commit
dda817cad8
5 changed files with 11 additions and 11 deletions
|
@ -59,7 +59,7 @@ class ConfigFileLoaderTest extends MockedTest
|
|||
*/
|
||||
public function testLoadConfigWrong()
|
||||
{
|
||||
$this->expectExceptionMessageRegExp("/Error loading config file \w+/");
|
||||
$this->expectExceptionMessageMatches("/Error loading config file \w+/");
|
||||
$this->expectException(\Exception::class);
|
||||
$this->delConfigFile('local.config.php');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue