fix tests

This commit is contained in:
Dennis Eichhorn 2024-04-25 03:26:52 +00:00
parent 91d989d815
commit 048cb596b0

View File

@ -86,6 +86,7 @@ final class BackendController extends Controller
->where('status', RiskStatus::ACTIVE) ->where('status', RiskStatus::ACTIVE)
->executeGetArray(); ->executeGetArray();
/** @var \Modules\RiskManagement\Models\Category[] $tmp */
$tmp = CategoryMapper::getAll() $tmp = CategoryMapper::getAll()
->with('title') ->with('title')
->where('title/language', $request->header->l11n->language) ->where('title/language', $request->header->l11n->language)
@ -606,7 +607,6 @@ final class BackendController extends Controller
->where('unit', $this->app->unitId) ->where('unit', $this->app->unitId)
->executeGetArray(); ->executeGetArray();
/** @var \phpOMS\Localization\BaseStringL11n[] $l11nValues */
/* /*
$l11nValues = ProcessL11nMapper::getAll() $l11nValues = ProcessL11nMapper::getAll()
->where('ref', $view->data['category']->id) ->where('ref', $view->data['category']->id)