Skip to content
Snippets Groups Projects
Commit 466a81aa authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12091 TIME 0:15 Unit test

parent 2d837f0d
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,11 @@ class ListTemplateControllerTest extends TestCase
];
$fullRequest = \httpRequestCustom::addContentInBody($aArgs, $request);
$aArgs = [
'admin' => true
];
$fullRequest = $fullRequest->withQueryParams($aArgs);
$response = $listTemplateController->create($fullRequest, new \Slim\Http\Response());
$responseBody = json_decode((string)$response->getBody());
......
......@@ -378,7 +378,7 @@ class ResControllerTest extends TestCase
'subject' => $key .' Breaking News : 12345 Superman is alive - PHP unit',
'typist' => 19,
'priority' => $value[1],
'diffusionList' => [['id' => 1, 'type' => 'user', 'mode' => 'dest']]
'diffusionList' => [['id' => 19, 'type' => 'user', 'mode' => 'dest']]
];
$fullRequest = \httpRequestCustom::addContentInBody($aArgs, $request);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment