* [unittest] modify unittest.
This commit is contained in:
@@ -17,6 +17,7 @@ cid=1
|
||||
- 测试传入空的情况 @0
|
||||
- 测试webhook传入空的情况 @0
|
||||
- 测试action传入空的情况 @0
|
||||
- 追加toList @0
|
||||
|
||||
*/
|
||||
|
||||
@@ -33,4 +34,5 @@ $action[1] = 0;
|
||||
r($webhookTest->getOpenIdListTest($webhook[0], $action[0])) && p() && e('0'); //测试传入正常数据的情况
|
||||
r($webhookTest->getOpenIdListTest($webhook[1], $action[1])) && p() && e('0'); //测试传入空的情况
|
||||
r($webhookTest->getOpenIdListTest($webhook[0], $action[1])) && p() && e('0'); //测试webhook传入空的情况
|
||||
r($webhookTest->getOpenIdListTest($webhook[1], $action[0])) && p() && e('0'); //测试action传入空的情况
|
||||
r($webhookTest->getOpenIdListTest($webhook[1], $action[0])) && p() && e('0'); //测试action传入空的情况
|
||||
r($webhookTest->getOpenIdListTest($webhook[0], $action[0], 'user1')) && p() && e('0'); //追加toList
|
||||
Reference in New Issue
Block a user