]> git.mxchange.org Git - friendica.git/commitdiff
Remove obsolete getAll() call during mocking
authorPhilipp Holzer <admin+github@philipp.info>
Mon, 15 Jul 2019 07:42:21 +0000 (09:42 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Mon, 15 Jul 2019 07:42:21 +0000 (09:42 +0200)
tests/Util/AppMockTrait.php

index 52941d0d513474a699c8dd0cbce49ab9cbb6dd8c..caf8a7c08475d24d04f6f95ba1531445fecc95cd 100644 (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