From: Philipp Holzer Date: Sat, 16 Feb 2019 22:19:54 +0000 (+0100) Subject: adding parameter to App X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=68c904bbf4977283b7083f411064bcf4b315a124;p=friendica.git adding parameter to App --- diff --git a/tests/include/ApiTest.php b/tests/include/ApiTest.php index be70d923bd..41f5c0fdf1 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 f2a5cc5558..c6981a91d9 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 bc50a0a691..250df06936 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();