diff --git a/test/model/compile/createbyjob.php b/test/model/compile/createbyjob.php index bf367ab9f9..0dac81c7dd 100755 --- a/test/model/compile/createbyjob.php +++ b/test/model/compile/createbyjob.php @@ -13,7 +13,6 @@ pid=1 */ $compile = new compileTest(); - r($compile->createByJobTest('1', '123')) && p('0:name') && e('这是一个Job1'); //检查是否可以拿到通过id为1的job数据创建的compile。 r($compile->createByJobTest('3', '123')) && p('0:name') && e('0'); //检查是否可以拿到通过不存在的job数据创建的compile。 system("../../ztest init"); diff --git a/test/model/compile/getsuccessjobs.php b/test/model/compile/getsuccessjobs.php deleted file mode 100755 index bf924e0738..0000000000 --- a/test/model/compile/getsuccessjobs.php +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env php -getSuccessJobs(); -cid=1 -pid=1 - -*/ - -$compile = new compileTest(); - -r($compile->getSuccessJobsTest('1,2')) && p('1') && e('1'); //检查是否能拿取到数据 -r($compile->getSuccessJobsTest('3,4')) && p('') && e('0'); //检查传一个不存在的jobidlist会返回什么