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)
|
public function mockApp(vfsStreamDirectory $root, $raw = false)
|
||||||
{
|
{
|
||||||
$this->configMock = \Mockery::mock(Config\Cache\ConfigCache::class);
|
$this->configMock = \Mockery::mock(Config\Cache\ConfigCache::class);
|
||||||
$this->configMock->shouldReceive('getAll')->andReturn([])->once();
|
|
||||||
$this->mode = \Mockery::mock(App\Mode::class);
|
$this->mode = \Mockery::mock(App\Mode::class);
|
||||||
$configModel= \Mockery::mock(\Friendica\Model\Config\Config::class);
|
$configModel= \Mockery::mock(\Friendica\Model\Config\Config::class);
|
||||||
// Disable the adapter
|
// Disable the adapter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user