Refactor ConfigMockTrait to mocked ConfigCache

This commit is contained in:
Philipp Holzer
2019-02-07 20:44:03 +01:00
parent 38ac615ba0
commit cb791024e4
27 changed files with 244 additions and 193 deletions

View File

@@ -21,13 +21,6 @@ class DBStructureTest extends DatabaseTest
$this->logOutput = FActory\LoggerFactory::enableTest($this->app->getLogger());
parent::setUp();
// Default config
Config::set('config', 'hostname', 'localhost');
Config::set('system', 'throttle_limit_day', 100);
Config::set('system', 'throttle_limit_week', 100);
Config::set('system', 'throttle_limit_month', 100);
Config::set('system', 'theme', 'system_theme');
}
/**