mirror of
https://github.com/friendica/friendica
synced 2025-04-24 15:50:12 +00:00
Config FollowUp
- New Configuration (Config is now only holding the instance) - New PConfiguration (PConfig is now only holding the instance) - Config & PConfig-Adapter don't need "ConfigCache" anymore - DB-Connection is now outside App->reload() for better dependency-chaining
This commit is contained in:
parent
c36a0eabdb
commit
eafcf3592d
59 changed files with 1754 additions and 1038 deletions
|
@ -3,7 +3,7 @@
|
|||
namespace Friendica\Test\src\Core\Console;
|
||||
|
||||
use Asika\SimpleConsole\Console;
|
||||
use Friendica\Core\Config\ConfigCache;
|
||||
use Friendica\Core\Config\Configuration;
|
||||
use Friendica\Test\MockedTest;
|
||||
use Friendica\Test\Util\AppMockTrait;
|
||||
use Friendica\Test\Util\Intercept;
|
||||
|
@ -31,7 +31,7 @@ abstract class ConsoleTest extends MockedTest
|
|||
Intercept::setUp();
|
||||
|
||||
$this->setUpVfsDir();
|
||||
$configMock = \Mockery::mock(ConfigCache::class);
|
||||
$configMock = \Mockery::mock(Configuration::class);
|
||||
$this->mockApp($this->root, $configMock);
|
||||
$profileMock = \Mockery::mock(Profiler::class);
|
||||
$this->app->shouldReceive('getProfiler')->andReturn($profileMock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue