diff --git a/tests/Socket/Client/ClientTest.php b/tests/Socket/Client/ClientTest.php index 85a8feabc..85b8aec5a 100755 --- a/tests/Socket/Client/ClientTest.php +++ b/tests/Socket/Client/ClientTest.php @@ -61,7 +61,7 @@ final class ClientTest extends \PHPUnit\Framework\TestCase $this->app->logger = new FileLogger(__DIR__ . '/client.log', false); $this->app->dbPool = $GLOBALS['dbpool']; - $this->app->orgId = 1; + $this->app->unitId = 1; $this->app->cachePool = new CachePool($this->app->dbPool); $this->app->accountManager = new AccountManager($GLOBALS['session']); $this->app->appSettings = new CoreSettings(); diff --git a/tests/Socket/Client/ClientTestHelper.php b/tests/Socket/Client/ClientTestHelper.php index 797c6a63a..997761109 100755 --- a/tests/Socket/Client/ClientTestHelper.php +++ b/tests/Socket/Client/ClientTestHelper.php @@ -51,7 +51,7 @@ $app = new class() extends ApplicationAbstract $app->logger = FileLogger::getInstance(__DIR__ . '/server.log', true); $app->dbPool = $GLOBALS['dbpool']; -$app->orgId = 1; +$app->unitId = 1; $app->cachePool = new CachePool($app->dbPool); $app->accountManager = new AccountManager($GLOBALS['session']); $app->appSettings = new CoreSettings($app->dbPool->get()); diff --git a/tests/Socket/Server/ServerTest.php b/tests/Socket/Server/ServerTest.php index 00bf5d33c..5e861ad2a 100755 --- a/tests/Socket/Server/ServerTest.php +++ b/tests/Socket/Server/ServerTest.php @@ -61,7 +61,7 @@ final class ServerTest extends \PHPUnit\Framework\TestCase $this->app->logger = new FileLogger(__DIR__ . '/server.log', false); $this->app->dbPool = $GLOBALS['dbpool']; - $this->app->orgId = 1; + $this->app->unitId = 1; $this->app->cachePool = new CachePool($this->app->dbPool); $this->app->accountManager = new AccountManager($GLOBALS['session']); $this->app->appSettings = new CoreSettings();