test(tests): UT for JsonResponse class

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-05-08 19:58:15 +02:00
parent c758b7f0b6
commit 9b170b2fb8
13 changed files with 264 additions and 116 deletions

View File

@@ -36,7 +36,7 @@ final class IndexController extends ControllerBase
{
public function indexAction(): void
{
$this->layoutHelper->getCustomLayout('request', strtolower($this->getViewBaseName()));
$this->layoutHelper->getCustomLayout('request', strtolower($this->routeContextData->getActionName()));
if (!$this->configData->isMailEnabled()) {
ErrorUtil::showErrorInView($this->view, self::ERR_UNAVAILABLE, true, 'request');