Loading core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php +4 −9 Original line number Diff line number Diff line Loading @@ -43,14 +43,6 @@ class MenuUiNodeTest extends BrowserTestBase { 'content_translation', ]; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading Loading @@ -439,7 +431,10 @@ public function testMenuNodeWithGrantsFormWidget() { * @see menu_ui_get_menu_link_defaults() */ public function testMainMenuIsPrioritized(): void { $this->drupalLogin($this->rootUser); $this->drupalLogin($this->drupalCreateUser([ 'administer menu', 'edit any page content', ])); $menu_name = $this->randomMachineName(); $mainLinkTitle = $this->randomMachineName(); $nonMainLinkTitle = $this->randomMachineName(); Loading Loading
core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php +4 −9 Original line number Diff line number Diff line Loading @@ -43,14 +43,6 @@ class MenuUiNodeTest extends BrowserTestBase { 'content_translation', ]; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading Loading @@ -439,7 +431,10 @@ public function testMenuNodeWithGrantsFormWidget() { * @see menu_ui_get_menu_link_defaults() */ public function testMainMenuIsPrioritized(): void { $this->drupalLogin($this->rootUser); $this->drupalLogin($this->drupalCreateUser([ 'administer menu', 'edit any page content', ])); $menu_name = $this->randomMachineName(); $mainLinkTitle = $this->randomMachineName(); $nonMainLinkTitle = $this->randomMachineName(); Loading