mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-12 11:26:55 +01:00
test(tests): UT for JsonResponse class
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user