mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +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
|
@ -55,11 +55,12 @@ class ConfigFileLoaderTest extends MockedTest
|
|||
|
||||
/**
|
||||
* Test the loadConfigFiles() method with a wrong local.config.php
|
||||
* @expectedException \Exception
|
||||
* @expectedExceptionMessageRegExp /Error loading config file \w+/
|
||||
*
|
||||
*/
|
||||
public function testLoadConfigWrong()
|
||||
{
|
||||
$this->expectExceptionMessageRegExp("/Error loading config file \w+/");
|
||||
$this->expectException(\Exception::class);
|
||||
$this->delConfigFile('local.config.php');
|
||||
|
||||
vfsStream::newFile('local.config.php')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue