* Add auto test of bug.

This commit is contained in:
liumengyi
2022-03-22 15:01:20 +08:00
parent f523d8f121
commit d9d2eea3b9
22 changed files with 335 additions and 137 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ title=bugModel->getDataOfBugsPerStatus();
cid=1
pid=1
获取状态为active的数据 >> 激活,150
获取状态为active的数据 >> 激活,165
获取状态为resolved的数据 >> 已解决,90
获取状态为closed的数据 >> 已关闭,60
@@ -17,6 +17,6 @@ pid=1
$bug=new bugTest();
r($bug->getDataOfBugsPerStatusTest()) && p('active:name,value') && e('激活,150'); // 获取状态为active的数据
r($bug->getDataOfBugsPerStatusTest()) && p('active:name,value') && e('激活,165'); // 获取状态为active的数据
r($bug->getDataOfBugsPerStatusTest()) && p('resolved:name,value') && e('已解决,90'); // 获取状态为resolved的数据
r($bug->getDataOfBugsPerStatusTest()) && p('closed:name,value') && e('已关闭,60'); // 获取状态为closed的数据