diff --git a/tests/include/ApiTest.php b/tests/include/ApiTest.php index be70d923b..41f5c0fdf 100644 --- a/tests/include/ApiTest.php +++ b/tests/include/ApiTest.php @@ -39,7 +39,8 @@ class ApiTest extends DatabaseTest $configLoader = new Config\ConfigCacheLoader($basedir); $config = Factory\ConfigFactory::createCache($configLoader); $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()); parent::setUp(); diff --git a/tests/src/Database/DBATest.php b/tests/src/Database/DBATest.php index f2a5cc555..c6981a91d 100644 --- a/tests/src/Database/DBATest.php +++ b/tests/src/Database/DBATest.php @@ -16,7 +16,8 @@ class DBATest extends DatabaseTest $configLoader = new Config\ConfigCacheLoader($basedir); $config = Factory\ConfigFactory::createCache($configLoader); $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()); parent::setUp(); diff --git a/tests/src/Database/DBStructureTest.php b/tests/src/Database/DBStructureTest.php index bc50a0a69..250df0693 100644 --- a/tests/src/Database/DBStructureTest.php +++ b/tests/src/Database/DBStructureTest.php @@ -17,7 +17,8 @@ class DBStructureTest extends DatabaseTest $configLoader = new Config\ConfigCacheLoader($basedir); $config = Factory\ConfigFactory::createCache($configLoader); $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()); parent::setUp();