Files
EasySoft-ZenTaoPMS/test/model/task/getStoryTaskCounts.php
2022-02-24 09:43:44 +08:00

25 lines
738 B
PHP
Executable File

#!/usr/bin/env php
<?php
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
include dirname(dirname(dirname(__FILE__))) . '/class/task.class.php';
su('admin');
/**
title=taskModel->getStoryTaskCounts();
cid=1
pid=1
根据需求1查看任务数量 >> 6
根据需求5查看任务数量 >> 6
根据需求9查看任务数量 >> 6
*/
$storyIDList = array('1','5','9');
$task = new taskTest();
r($task->getStoryTaskCountsTest($storyIDList)) && p('1') && e('6'); // 根据需求1查看任务数量
r($task->getStoryTaskCountsTest($storyIDList)) && p('5') && e('6'); // 根据需求5查看任务数量
r($task->getStoryTaskCountsTest($storyIDList)) && p('9') && e('6'); // 根据需求9查看任务数量
system("./ztest init");