diff --git a/core/modules/menu_ui/src/Tests/MenuTest.php b/core/modules/menu_ui/src/Tests/MenuTest.php index e104356..fef560e 100644 --- a/core/modules/menu_ui/src/Tests/MenuTest.php +++ b/core/modules/menu_ui/src/Tests/MenuTest.php @@ -240,13 +240,13 @@ function doMenuTests() { // Test the 'Add link' local action. $this->drupalGet('admin/structure/menu/manage/' . $menu_name); $this->clickLink(t('Add link')); - $link_title = $this->randomMachineName(); + $link_title = $this->randomString(); $this->drupalPostForm(NULL, array('url' => '', 'title[0][value]' => $link_title), t('Save')); $this->assertUrl('admin/structure/menu/manage/' . $menu_name); // Test the 'Edit' operation. $this->clickLink(t('Edit')); $this->assertFieldByName('title[0][value]', $link_title); - $link_title = $this->randomMachineName(); + $link_title = $this->randomString(); $this->drupalPostForm(NULL, array('title[0][value]' => $link_title), t('Save')); $this->assertUrl('admin/structure/menu/manage/' . $menu_name); // Test the 'Delete' operation.