From b31c92e6f513009aacbb465d71ec8fac1478738f Mon Sep 17 00:00:00 2001 From: szaimen Date: Fri, 2 Sep 2022 12:41:49 +0200 Subject: fix tests Signed-off-by: szaimen --- tests/acceptance/features/bootstrap/SettingsMenuContext.php | 2 +- tests/acceptance/features/header.feature | 2 +- tests/lib/NavigationManagerTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/acceptance/features/bootstrap/SettingsMenuContext.php b/tests/acceptance/features/bootstrap/SettingsMenuContext.php index 0effe906240..f89d8782198 100644 --- a/tests/acceptance/features/bootstrap/SettingsMenuContext.php +++ b/tests/acceptance/features/bootstrap/SettingsMenuContext.php @@ -148,7 +148,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface { */ public function iVisitTheAdminSettingsPage() { $this->iOpenTheSettingsMenu(); - $this->actor->find(self::menuItemFor('Admin settings'), 2)->click(); + $this->actor->find(self::menuItemFor('Administration settings'), 2)->click(); } /** diff --git a/tests/acceptance/features/header.feature b/tests/acceptance/features/header.feature index 2debb78638c..21f9147c9ac 100644 --- a/tests/acceptance/features/header.feature +++ b/tests/acceptance/features/header.feature @@ -8,7 +8,7 @@ Feature: header And I see that the Settings menu has only 8 items And I see that the "Set status" item in the Settings menu is shown And I see that the "Personal settings" item in the Settings menu is shown - And I see that the "Admin settings" item in the Settings menu is shown + And I see that the "Administration settings" item in the Settings menu is shown And I see that the "Apps" item in the Settings menu is shown And I see that the "Users" item in the Settings menu is shown And I see that the "Help" item in the Settings menu is shown diff --git a/tests/lib/NavigationManagerTest.php b/tests/lib/NavigationManagerTest.php index d29b6888c2c..8d70b1b25ae 100644 --- a/tests/lib/NavigationManagerTest.php +++ b/tests/lib/NavigationManagerTest.php @@ -299,7 +299,7 @@ class NavigationManagerTest extends TestCase { 'order' => 3, 'href' => '/apps/test/', 'icon' => '/apps/settings/img/admin.svg', - 'name' => 'Admin settings', + 'name' => 'Administration settings', 'active' => false, 'type' => 'settings', 'classes' => '', -- cgit v1.2.3