Merge branch 'sprint/tsj_uinttest' of https://gitlab.zcorp.cc/easycorp/zentaopms into sprint/tsj_uinttest

This commit is contained in:
caoyanyi
2023-01-12 14:28:19 +08:00
2 changed files with 55 additions and 0 deletions
+17
View File
@@ -13,6 +13,23 @@ class executionTest
$this->objectModel = $tester->loadModel('execution');
}
/**
* Check begin and end date.
*
* @param int $projectID
* @param string $begin
* @param string $end
* @access public
* @return bool|array
*/
public function checkBeginAndEndDateTest($projectID, $begin, $end)
{
$this->objectModel->checkBeginAndEndDate($projectID, $begin, $end);
if(dao::isError()) return dao::getError();
return true;
}
/**
* Check the workload format and total.
*