adding parameter to App
This commit is contained in:
parent
cb1ad4287d
commit
68c904bbf4
|
@ -39,7 +39,8 @@ class ApiTest extends DatabaseTest
|
||||||
$configLoader = new Config\ConfigCacheLoader($basedir);
|
$configLoader = new Config\ConfigCacheLoader($basedir);
|
||||||
$config = Factory\ConfigFactory::createCache($configLoader);
|
$config = Factory\ConfigFactory::createCache($configLoader);
|
||||||
$logger = Factory\LoggerFactory::create('test', $config);
|
$logger = Factory\LoggerFactory::create('test', $config);
|
||||||
$this->app = new App($config, $logger, false);
|
$profiler = Factory\ProfilerFactory::create($logger, $config);
|
||||||
|
$this->app = new App($config, $logger, $profiler, false);
|
||||||
$this->logOutput = FActory\LoggerFactory::enableTest($this->app->getLogger());
|
$this->logOutput = FActory\LoggerFactory::enableTest($this->app->getLogger());
|
||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
|
@ -16,7 +16,8 @@ class DBATest extends DatabaseTest
|
||||||
$configLoader = new Config\ConfigCacheLoader($basedir);
|
$configLoader = new Config\ConfigCacheLoader($basedir);
|
||||||
$config = Factory\ConfigFactory::createCache($configLoader);
|
$config = Factory\ConfigFactory::createCache($configLoader);
|
||||||
$logger = Factory\LoggerFactory::create('test', $config);
|
$logger = Factory\LoggerFactory::create('test', $config);
|
||||||
$this->app = new App($config, $logger, false);
|
$profiler = Factory\ProfilerFactory::create($logger, $config);
|
||||||
|
$this->app = new App($config, $logger, $profiler, false);
|
||||||
$this->logOutput = FActory\LoggerFactory::enableTest($this->app->getLogger());
|
$this->logOutput = FActory\LoggerFactory::enableTest($this->app->getLogger());
|
||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
|
@ -17,7 +17,8 @@ class DBStructureTest extends DatabaseTest
|
||||||
$configLoader = new Config\ConfigCacheLoader($basedir);
|
$configLoader = new Config\ConfigCacheLoader($basedir);
|
||||||
$config = Factory\ConfigFactory::createCache($configLoader);
|
$config = Factory\ConfigFactory::createCache($configLoader);
|
||||||
$logger = Factory\LoggerFactory::create('test', $config);
|
$logger = Factory\LoggerFactory::create('test', $config);
|
||||||
$this->app = new App($config, $logger, false);
|
$profiler = Factory\ProfilerFactory::create($logger, $config);
|
||||||
|
$this->app = new App($config, $logger, $profiler, false);
|
||||||
$this->logOutput = FActory\LoggerFactory::enableTest($this->app->getLogger());
|
$this->logOutput = FActory\LoggerFactory::enableTest($this->app->getLogger());
|
||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
Loading…
Reference in a new issue