mirror of
https://github.com/Karaka-Management/oms-ClientManagement.git
synced 2026-01-11 15:28:41 +00:00
fix tests
This commit is contained in:
parent
3fc5dec717
commit
f306a32069
|
|
@ -87,8 +87,8 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$this->app->accountManager->add($account);
|
||||
$this->app->router = new WebRouter();
|
||||
|
||||
$this->module = $this->app->moduleManager->get('ClientManagement');
|
||||
$this->attrModule = $this->app->moduleManager->get('ClientManagement');
|
||||
$this->module = $this->app->moduleManager->get('ClientManagement', 'Api');
|
||||
$this->attrModule = $this->app->moduleManager->get('ClientManagement', 'ApiAttribute');
|
||||
|
||||
TestUtils::setMember($this->module, 'app', $this->app);
|
||||
TestUtils::setMember($this->attrModule, 'app', $this->app);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user