diff --git a/test/class/build.class.php b/test/class/build.class.php index d58b03441f..8d00185e3a 100644 --- a/test/class/build.class.php +++ b/test/class/build.class.php @@ -24,6 +24,14 @@ class buildTest return $objects; } + /** + * function getByList test by build + * + * @param array $idList + * @param string $count + * @access public + * @return array + */ public function getByListTest($idList, $count) { $objects = $this->objectModel->getByList($idList); diff --git a/test/data/storyreview.yaml b/test/data/storyreview.yaml new file mode 100644 index 0000000000..169748332f --- /dev/null +++ b/test/data/storyreview.yaml @@ -0,0 +1,15 @@ +title: table zt_storyreview +desc: "" +author: automated export +version: "1.0" +fields: + - field: story + range: 301-400 + - field: version + range: "1" + - field: reviewer + range: admin{50},dev3{50} + - field: result + range: "" + - field: reviewDate + range: "" diff --git a/test/data/zentao/config.php b/test/data/zentao/config.php index 67aeaef55c..91754debd0 100644 --- a/test/data/zentao/config.php +++ b/test/data/zentao/config.php @@ -18,6 +18,7 @@ $builder->sprint = array('rows' => 600, 'extends' => array('project', 'ex $builder->story = array('rows' => 400, 'extends' => array('story')); $builder->childstory = array('rows' => 50, 'extends' => array('story','childstory')); +$builder->storyreview = array('rows' => 100, 'extends' => array('storyreview')); $builder->storymodule = array('rows' => 800, 'extends' => array('module','storymodule')); $builder->storyplan = array('rows' => 400, 'extends' => array('planstory')); $builder->storyspec = array('rows' => 80, 'extends' => array('storyspec'));