update unittest

This commit is contained in:
denghongtao
2022-03-16 09:42:37 +08:00
parent 7cbde4dcfe
commit d18ddc8ebb
27 changed files with 898 additions and 320 deletions
+2 -1
View File
@@ -23,4 +23,5 @@ $realEnd1 = array('realEnd' => '2022-03-11');
//var_dump($project->checkStatusOff($closeId[0], $realEnd1));die;
r($project->checkStatusOff($closeId[0], $realEnd1)) && p() && e('1'); //关闭id为20状态不是closed的项目
r($project->checkStatusOff($closeId[1], $realEnd1)) && p() && e('0'); //关闭id为26状态是closed的项目
r($project->checkStatusOff($closeId[2], $realEnd1)) && p() && e('0'); //关闭id为41状态是suspended的项目
r($project->checkStatusOff($closeId[2], $realEnd1)) && p() && e('0'); //关闭id为41状态是suspended的项目
system("./ztest init");