* [task#133024,done,0.2h] Add ui test files of edit a todo
This commit is contained in:
@@ -13,3 +13,23 @@ timeout=0
|
||||
*/
|
||||
chdir(__DIR__);
|
||||
include '../lib/edittodo.ui.class.php';
|
||||
|
||||
$todo = zenData('todo');
|
||||
$todo->id->range('1-5');
|
||||
$todo->account->range('admin');
|
||||
$todo->type->range('custom');
|
||||
$todo->name->range('待办A,待办B,待办C,待办D,待办E');
|
||||
$todo->status->range('wait,doing,done,closed,wait');
|
||||
$todo->assignedTo->range('admin');
|
||||
$todo->assignedBy->range('admin');
|
||||
$todo->gen(5);
|
||||
|
||||
$tester = new addTodoTester();
|
||||
$tester->login();
|
||||
|
||||
$todoTitle = new stdClass();
|
||||
$todoTitle->name = '待办test01';
|
||||
|
||||
$todoStatus = new stdClass();
|
||||
$todoStatus->doing = '进行中';
|
||||
$todoStatus->done = '已完成';
|
||||
|
||||
Reference in New Issue
Block a user