* Change account to admin.

This commit is contained in:
tianshujie
2024-03-27 14:09:05 +08:00
parent 1f793a2809
commit 26f0fca02f
+1 -1
View File
@@ -18,8 +18,8 @@ pid=1
$object = new stdclass();
$actionList = array('linkCase', 'edit', 'delete');
su('admin');
$testsuite = new testsuiteTest();
r($testsuite->isClickableTest($object, $actionList[0])) && p() && e('1'); // 测试 linkCase 方法是否可以点击
r($testsuite->isClickableTest($object, $actionList[1])) && p() && e('1'); // 测试 edit 方法是否可以点击
r($testsuite->isClickableTest($object, $actionList[2])) && p() && e('1'); // 测试 delete 方法是否可以点击