From: Philipp Holzer Date: Mon, 15 Jul 2019 07:42:21 +0000 (+0200) Subject: Remove obsolete getAll() call during mocking X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=438c903c7abac747453c95ed39325dbf870ef1a9;p=friendica.git Remove obsolete getAll() call during mocking --- diff --git a/tests/Util/AppMockTrait.php b/tests/Util/AppMockTrait.php index 52941d0d51..caf8a7c084 100644 --- a/tests/Util/AppMockTrait.php +++ b/tests/Util/AppMockTrait.php @@ -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