From da1a00f7e11242f4d49d7a79535621c35e579ea2 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Fri, 2 Jun 2023 13:15:14 +0800 Subject: [PATCH] - Remove unit test of bugModel-batchChangeBranch. --- module/bug/test/bug.class.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/module/bug/test/bug.class.php b/module/bug/test/bug.class.php index 2b7f062ab1..b22b8b4cb6 100644 --- a/module/bug/test/bug.class.php +++ b/module/bug/test/bug.class.php @@ -1020,31 +1020,6 @@ class bugTest } } - /** - * Test batch change branch. - * - * @param array $bugIDList - * @param int $branchID - * @param int $bugID - * @access public - * @return array - */ - public function batchChangeBranchTest($bugIDList, $branchID, $bugID) - { - $oldBugs = $this->objectModel->getByIdList($bugIDList); - - $object = $this->objectModel->batchChangeBranch($bugIDList, $branchID, $oldBugs); - - if(dao::isError()) - { - return dao::getError(); - } - else - { - return !empty($object[$bugID]) ? $object[$bugID] : 0; - } - } - /** * Test activate a bug. *