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

View File

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