fix tests

Signed-off-by: szaimen <szaimen@e.mail.de>
pull/33790/head
szaimen 2022-09-02 12:41:49 +07:00
parent d9399e1246
commit b31c92e6f5
3 changed files with 3 additions and 3 deletions

@ -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();
}
/**

@ -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

@ -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' => '',