* Adjust unit test check rule.

This commit is contained in:
caoyanyi
2023-09-12 14:41:02 +08:00
parent 73795f84c4
commit b957deb8c8
9 changed files with 31 additions and 133 deletions
-29
View File
@@ -128,21 +128,6 @@ class executionTest
return $this->executionModel->saveState($executionID, $executions);
}
/**
* Create the select code of executions.
*
* @param int $executionID
* @param string $currentModule
* @param string $currentMethod
* @access public
* @return void
*/
public function selectTest($executionID, $currentModule, $currentMethod)
{
$executions = $this->executionModel->getPairs();
return $this->executionModel->select($executions, $executionID, 0, $currentModule, $currentMethod);
}
/**
* Check the privilege.
*
@@ -2472,19 +2457,6 @@ class executionTest
return $lang->execution->menu;
}
/**
* Get switcher.
*
* @param int $executionID
* @param string $method
* @access public
* @return string
*/
public function getSwitcherTest($executionID = 0, $method = '')
{
return $this->executionModel->getSwitcher($executionID, 'execution', $method);
}
/**
* Test sync no multiple sprint.
*
@@ -2610,7 +2582,6 @@ class executionTest
$products = $this->executionModel->loadModel('product')->getProducts($executionID);
$branchGroups = $this->executionModel->loadModel('branch')->getByProducts(array_keys($products));
$this->executionModel->buildStorySearchForm($products, $branchGroups, array(), $queryID, 'searchStory', 'executionStory', $execution);
a(json_decode($_SESSION['executionStorysearchParams']['fieldParams']));
return $_SESSION['executionStorysearchParams']['queryID'];
}