mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
fix tests
This commit is contained in:
parent
804978cdd7
commit
0ad21f4798
|
|
@ -109,7 +109,7 @@ final class ApiController extends Controller
|
|||
$request->setData('lang', $type['lang'] ?? null, true);
|
||||
|
||||
$internalResponse = new HttpResponse();
|
||||
$this->apiMediaTypeCreate($request, $internalResponse, null);
|
||||
$this->apiMediaTypeCreate($request, $internalResponse);
|
||||
|
||||
if (!\is_array($data = $internalResponse->get($request->uri->__toString()))) {
|
||||
continue;
|
||||
|
|
@ -142,7 +142,7 @@ final class ApiController extends Controller
|
|||
$request->setData('language', $tag['language'], true);
|
||||
|
||||
$internalResponse = new HttpResponse();
|
||||
$this->app->moduleManager->get('Tag')->apiTagCreate($request, $internalResponse, null);
|
||||
$this->app->moduleManager->get('Tag')->apiTagCreate($request, $internalResponse);
|
||||
|
||||
if (!\is_array($data = $internalResponse->get($request->uri->__toString()))) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user