diff --git a/module/company/test/model/getbyid.php b/module/company/test/model/getbyid.php index 323c3f6545..751d2f3d89 100755 --- a/module/company/test/model/getbyid.php +++ b/module/company/test/model/getbyid.php @@ -4,6 +4,8 @@ include dirname(__FILE__, 5) . '/test/lib/init.php'; include dirname(__FILE__, 2) . '/company.class.php'; su('admin'); +zdTable('company')->gen(1); + /** title=测试companyModel->getByIDTest(); @@ -19,4 +21,4 @@ $companyIDList = array('0', '1'); $company = new companyTest(); r($company->getByIDTest($companyIDList[1])) && p('name') && e('易软天创网络科技有限公司'); // 根据id查询公司 -r($company->getByIDTest($companyIDList[0])) && p() && e('0'); // 错误id查询 \ No newline at end of file +r($company->getByIDTest($companyIDList[0])) && p() && e('0'); // 错误id查询