Merge branch 'sprint/tsj_uinttest' of https://gitlab.zcorp.cc/easycorp/zentaopms into sprint/tsj_uinttest
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user