diff --git a/module/misc/test/model/getlatestversionlist.php b/module/misc/test/model/getlatestversionlist.php new file mode 100644 index 0000000000..3cb8568de7 --- /dev/null +++ b/module/misc/test/model/getlatestversionlist.php @@ -0,0 +1,18 @@ +#!/usr/bin/env php +getLatestVersionList(); +timeout=0 +cid=1 + +- 执行miscModel模块的getLatestVersionList方法,参数是null @0 + +*/ +global $tester, $config; +$miscModel = $tester->loadModel('misc'); + +$_SERVER['HTTP_REFERER'] = 'https://www.zentao.net'; +r($miscModel->getLatestVersionList(null)) && p() && e('0');