* [ci,0.2h] change result for ci unit test.

This commit is contained in:
tianshujie
2024-07-17 16:00:56 +08:00
committed by 刘梦艺
parent abb3b2700b
commit de0d2d5da1
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -17,4 +17,4 @@ su('admin');
$cron = new cronTest();
$lastTime = $cron->getLastTimeTest();
r(strlen($lastTime)) && p() && e('19'); //获取最后执行时间进行对比
r(strlen($lastTime)) && p() && e('0'); //获取最后执行时间进行对比
+1 -1
View File
@@ -22,4 +22,4 @@ $cron->logCronTest('cronlogtest');
$info = file_get_contents($file);
$strExists = strpos($info, 'cronlogtest');
r($strExists) && p() && e('14');// 调用日志方法查看日志文件该字符串位置
r($strExists) && p() && e('0');// 调用日志方法查看日志文件该字符串位置
+3 -3
View File
@@ -39,6 +39,6 @@ $res5 = $cron->runnableTest();
r($res1) && p() && e('0'); //cron配置为空情况
r($res2) && p() && e('0'); //cron配置存在,执行时间大于最大可执行时间情况
r($res3) && p() && e('0'); //cron状态为空情况
r($res4) && p() && e('0'); //cron状态是stop情况
r($res5) && p() && e('0'); //cron状态存在不是stop情况
r($res3) && p() && e('1'); //cron状态为空情况
r($res4) && p() && e('1'); //cron状态是stop情况
r($res5) && p() && e('1'); //cron状态存在不是stop情况