mirror of
https://github.com/Karaka-Management/oms-RiskManagement.git
synced 2026-02-04 22:38:40 +00:00
fix tests
This commit is contained in:
parent
91d989d815
commit
048cb596b0
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user