mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 23:34:27 +02:00
Replace expectExceptionMessageRegExp()
with expectExceptionMessageMatches()
This commit is contained in:
parent
280d0ee961
commit
dda817cad8
5 changed files with 11 additions and 11 deletions
|
@ -68,7 +68,7 @@ class BasePathTest extends MockedTest
|
|||
public function testFailedBasePath()
|
||||
{
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectExceptionMessageRegExp("/(.*) is not a valid basepath/");
|
||||
$this->expectExceptionMessageMatches("/(.*) is not a valid basepath/");
|
||||
|
||||
$basepath = new BasePath('/now23452sgfgas', []);
|
||||
$basepath->getPath();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue