Remove obsolete getAll() call during mocking

This commit is contained in:
Philipp Holzer 2019-07-15 09:42:21 +02:00
parent 6801e8b5ab
commit 438c903c7a
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90
1 changed files with 0 additions and 1 deletions

View File

@ -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