* Add case for the removeMenu method.

This commit is contained in:
tianshujie
2023-08-29 11:21:29 +08:00
parent 08cb14be58
commit e7a6b30842
2 changed files with 38 additions and 0 deletions
+15
View File
@@ -3018,4 +3018,19 @@ class executionTest
$this->executionModel->setKanbanMenu();
return $this->executionModel->lang->execution->menu;
}
/**
* 根据条件设置执行二级导航。
* Set secondary navigation based on the conditions.
*
* @param int $executionID
* @access public
* @return object
*/
public function removeMenuTest(int $executionID): object
{
$execution = $this->executionModel->fetchByID($executionID);
$this->executionModel->removeMenu($execution);
return $this->executionModel->lang->execution->menu;
}
}