* [unittest] modify unittest.
This commit is contained in:
@@ -30,6 +30,12 @@ zenData('case')->gen(2);
|
||||
$productIDList = array(1, 0, 10000);
|
||||
$typeList = array('story', 'requirement', 'error');
|
||||
|
||||
global $app;
|
||||
$app->loadModel('product');
|
||||
$app->rawModule = 'product';
|
||||
$app->rawMethod = 'browse';
|
||||
$app->moduleName = 'product';
|
||||
|
||||
$product = new productTest('admin');
|
||||
$product->objectModel->lang->SRCommon = '研发需求';
|
||||
$product->objectModel->lang->URCommon = '用户需求';
|
||||
|
||||
Reference in New Issue
Block a user