From a753afaf0debf056eff867f4a5470139b9dad977 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 8 Oct 2022 21:35:00 +0200 Subject: [PATCH] fix tests --- Theme/Backend/Lang/en.lang.php | 1 + Theme/Backend/unit-list.tpl.php | 2 +- tests/Bootstrap.php | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index b7936b8..b3446df 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -28,4 +28,5 @@ return ['Organization' => [ 'Unit' => 'Unit', 'UnitLogo' => 'Unit Logo', 'Units' => 'Units', + 'IMG_alt_profile' => 'Unit image', ]]; diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index 0a9fa97..e46c688 100755 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -87,7 +87,7 @@ echo $this->getData('nav')->render(); ?> $url = UriFactory::build('{/prefix}organization/unit/profile?{?}&id=' . $value->getId()); ?> getId(); ?> - "><?= $this->getHtml('IMG_alt_profile'); ?> printHtml($value->name); ?> diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 252a62f..d46fd31 100755 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -1,4 +1,5 @@ -