You are here

function MenuModuleTestCase::uiDeleteLink in SimpleTest 6

Delete a menu link using the menu module UI.

1 call to MenuModuleTestCase::uiDeleteLink()
MenuModuleTestCase::testCreateCheckDelete in tests/menu_module.test

File

tests/menu_module.test, line 55

Class

MenuModuleTestCase

Code

function uiDeleteLink($mlid) {
  $this
    ->drupalPost("admin/build/menu/item/" . $mlid . "/delete", array(), "Confirm");
}