diff --git a/core/modules/menu/menu.test b/core/modules/menu/menu.test index 437adc2..5fa27c7 100644 --- a/core/modules/menu/menu.test +++ b/core/modules/menu/menu.test @@ -698,6 +698,8 @@ class MenuNodeTestCase extends DrupalWebTestCase { // Assert that it is not possible to set the parent of the first node to itself or the second node. $this->assertNoOption('edit-menu-parent', 'navigation:'. $item['mlid']); $this->assertNoOption('edit-menu-parent', 'navigation:'. $child_item['mlid']); + // Assert that unallowed Management menu is not available in options. + $this->assertNoOption('edit-menu-parent', 'management:0'); } /**