* Modify unit test.
This commit is contained in:
@@ -4,16 +4,18 @@ include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/setting.class.php';
|
||||
su('admin');
|
||||
|
||||
zdTable('config')->gen(7);
|
||||
|
||||
/**
|
||||
|
||||
title=测试 settingModel->getSysAndPersonalConfig();
|
||||
timeout=0
|
||||
cid=1
|
||||
pid=1
|
||||
|
||||
测试account值为system,可正常查询system的数据 >> 1
|
||||
测试account值为admin,可正常查询system和admin的数据 >> 1
|
||||
测试account值为dev,可正常查询system和dev的数据 >> 1
|
||||
测试account值为空,可正常查询system的数据 >> 1
|
||||
- 测试account值为system,可正常查询system的数据 @1
|
||||
- 测试account值为admin,可正常查询system和admin的数据 @1
|
||||
- 测试account值为dev,可正常查询system和dev的数据 @1
|
||||
- 测试account值为空,可正常查询system的数据 @1
|
||||
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user