diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index e70f7bf..6768d70 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -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;