From 438c903c7abac747453c95ed39325dbf870ef1a9 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 15 Jul 2019 09:42:21 +0200 Subject: [PATCH] Remove obsolete getAll() call during mocking --- tests/Util/AppMockTrait.php | 1 - 1 file changed, 1 deletion(-) 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