Remove obsolete getAll() call during mocking
This commit is contained in:
parent
6801e8b5ab
commit
438c903c7a
|
@ -44,7 +44,6 @@ trait AppMockTrait
|
|||
public function mockApp(vfsStreamDirectory $root, $raw = false)
|
||||
{
|
||||
$this->configMock = \Mockery::mock(Config\Cache\ConfigCache::class);
|
||||
$this->configMock->shouldReceive('getAll')->andReturn([])->once();
|
||||
$this->mode = \Mockery::mock(App\Mode::class);
|
||||
$configModel= \Mockery::mock(\Friendica\Model\Config\Config::class);
|
||||
// Disable the adapter
|
||||
|
|
Loading…
Reference in a new issue