mirror of
https://github.com/Karaka-Management/oms-FleetManagement.git
synced 2026-02-09 18:08:41 +00:00
fix tests
This commit is contained in:
parent
4829e89917
commit
52af76a285
|
|
@ -86,9 +86,11 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
$this->app->accountManager->add($account);
|
||||
$this->app->router = new WebRouter();
|
||||
|
||||
$this->module = $this->app->moduleManager->get('FleetManagement');
|
||||
$this->module = $this->app->moduleManager->get('FleetManagement', 'Api');
|
||||
$this->attrModule = $this->app->moduleManager->get('FleetManagement', 'ApiVehicleAttribute');
|
||||
|
||||
TestUtils::setMember($this->module, 'app', $this->app);
|
||||
TestUtils::setMember($this->attrModule, 'app', $this->app);
|
||||
}
|
||||
|
||||
use ApiControllerAttributeTrait;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user