* testtask: set the login user after init the user table.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
su('user1');
|
||||
|
||||
zdTable('case')->config('case')->gen(10);
|
||||
zdTable('testrun')->config('testrun')->gen(10);
|
||||
@@ -11,6 +10,8 @@ zdTable('story')->gen(2);
|
||||
zdTable('module')->gen(2);
|
||||
zdTable('user')->gen(2);
|
||||
|
||||
su('user1');
|
||||
|
||||
/**
|
||||
|
||||
title=测试 testtaskModel->getTaskCases();
|
||||
|
||||
Reference in New Issue
Block a user