mirror of
https://github.com/friendica/friendica
synced 2025-04-26 02:30:11 +00:00
Adding ConfigFileSaver and tests
This commit is contained in:
parent
fa31bb6dde
commit
49def0dc27
21 changed files with 493 additions and 473 deletions
|
@ -9,7 +9,7 @@ use Friendica\App;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\Factory;
|
||||
use Friendica\Util\BasePath;
|
||||
use Friendica\Util\Config\ConfigCacheLoader;
|
||||
use Friendica\Util\Config\ConfigFileLoader;
|
||||
use Friendica\Util\Profiler;
|
||||
use PHPUnit\DbUnit\DataSet\YamlDataSet;
|
||||
use PHPUnit\DbUnit\TestCaseTrait;
|
||||
|
@ -43,7 +43,7 @@ abstract class DatabaseTest extends MockedTest
|
|||
|
||||
$basePath = BasePath::create(dirname(__DIR__));
|
||||
$mode = new App\Mode($basePath);
|
||||
$configLoader = new ConfigCacheLoader($basePath, $mode);
|
||||
$configLoader = new ConfigFileLoader($basePath, $mode);
|
||||
$config = Factory\ConfigFactory::createCache($configLoader);
|
||||
|
||||
$profiler = \Mockery::mock(Profiler::class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue