mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
Fix a lot of notices/warnings/deprecation notes in the test directory
This commit is contained in:
parent
efaec26b1d
commit
d55ecb9288
77 changed files with 428 additions and 558 deletions
|
@ -64,11 +64,12 @@ class BasePathTest extends MockedTest
|
|||
|
||||
/**
|
||||
* Test the basepath determination with a complete wrong path
|
||||
* @expectedException \Exception
|
||||
* @expectedExceptionMessageRegExp /(.*) is not a valid basepath/
|
||||
*/
|
||||
public function testFailedBasePath()
|
||||
{
|
||||
$this->expectException(\Exception::class);
|
||||
$this->expectExceptionMessageRegExp("/(.*) is not a valid basepath/");
|
||||
|
||||
$basepath = new BasePath('/now23452sgfgas', []);
|
||||
$basepath->getPath();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue