* Refactor unit test changeexecutionstatus.

This commit is contained in:
chaideqing
2023-05-10 13:44:41 +08:00
parent 16da0f5d63
commit 6f69380593
@@ -21,5 +21,9 @@ foreach($statusList as $status)
{
$tester->loadModel('project')->changeExecutionStatus(1, $status);
$$status = $tester->project->getByID(2);
r($$status) && p('status') && e("$status");
}
r($suspend) && p('status') && e("suspended");
r($start) && p('status') && e("doing");
r($activate) && p('status') && e("wait");
r($close) && p('status') && e("closed");