* Modify test case remark for todo model.

This commit is contained in:
jukui
2023-05-09 18:50:08 +08:00
parent 7cced08259
commit db06f96b25
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -24,9 +24,9 @@ $testWhere2 = " `deleted` = '0' and `status` IN ('closed') ";
$testResult = $todo->getByExportListTest("date_desc", $testWhere, $selectedItem = '');
$testResult2 = $todo->getByExportListTest("date_desc", $testWhere2, $selectedItem = '');
r(count($testResult)) && p() && e('1'); //获取导出待办的数量
r($testResult[1]) && p('name,status') && e('待办1,wait'); //获取id为1的待办名称和状态
r(count($testResult)) && p() && e('1'); // 获取待办的数量
r($testResult[1]) && p('name,status') && e('待办1,wait'); // 获取id为1的待办name和status
r(count($testResult2)) && p() && e('2'); //获取导出待办的数量
r($testResult2[4]) && p('name,status') && e('待办4,closed'); //获取id为1的待办名称和状态
r($testResult2[5]) && p('name,status') && e('待办5,closed'); //获取id为5的待办名称和状态
r(count($testResult2)) && p() && e('2'); // 获取导出待办的数量
r($testResult2[4]) && p('name,status') && e('待办4,closed'); // 获取id为1的待办name和status
r($testResult2[5]) && p('name,status') && e('待办5,closed'); // 获取id为5的待办name和status
+1 -1
View File
@@ -29,4 +29,4 @@ $orderBy = 'date_desc';
$result = $tester->todo->getListBy($type, $account, $status, $begin, $end, $limit, $orderBy);
r(count($result)) && p() && e('5'); //获取待办列表数量
r($result[0]) && p('name,status') && e('待办5,doing'); //获取待办列表第一条的名称和状态
r($result[0]) && p('name,status') && e('待办5,doing'); //获取待办列表第1条的name和status