mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:10:12 +00:00
Fixing tests
This commit is contained in:
parent
5e5c39b0e1
commit
f5adbd268b
18 changed files with 101 additions and 93 deletions
|
@ -90,7 +90,7 @@ class ModeTest extends MockedTest
|
|||
$this->mockConnected(true, 1);
|
||||
$this->mockFetchFirst('SHOW TABLES LIKE \'config\'', true, 1);
|
||||
|
||||
$config = \Mockery::mock('Friendica\Core\Config\Configuration');
|
||||
$config = \Mockery::mock(Config\Configuration::class);
|
||||
$config
|
||||
->shouldReceive('get')
|
||||
->with('system', 'maintenance', null, false)
|
||||
|
@ -118,7 +118,7 @@ class ModeTest extends MockedTest
|
|||
$this->mockConnected(true, 1);
|
||||
$this->mockFetchFirst('SHOW TABLES LIKE \'config\'', true, 1);
|
||||
|
||||
$config = \Mockery::mock('Friendica\Core\Config\Configuration');
|
||||
$config = \Mockery::mock(Config\Configuration::class);
|
||||
$config
|
||||
->shouldReceive('get')
|
||||
->with('system', 'maintenance', null, false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue