From 5d94e8e207ff28d016fcdc1d72089ef9031818dc Mon Sep 17 00:00:00 2001 From: dingna Date: Sat, 9 Oct 2021 14:42:47 +0800 Subject: [PATCH] * Modify product of branch and add created time for products. --- test/data/branch.yaml | 2 +- test/data/product.yaml | 5 +++-- test/data/zentao/config.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/data/branch.yaml b/test/data/branch.yaml index fac224f045..1185bc2cf4 100644 --- a/test/data/branch.yaml +++ b/test/data/branch.yaml @@ -8,7 +8,7 @@ fields: range: 1-10000 - field: product note: "所属产品" - range: 41-120{2!} + range: 41-120{2},141-180{2} - field: name note: "名称" range: 1-10000 diff --git a/test/data/product.yaml b/test/data/product.yaml index 1e7a82a997..67bf235526 100644 --- a/test/data/product.yaml +++ b/test/data/product.yaml @@ -74,8 +74,9 @@ fields: range: 1-10 - field: createdDate note: "创建日期" - from: common.date.v1.yaml - use: datetime + range: "-:60" + type: timestamp + format: "YYYY-MM-DD hh:mm:ss" - field: createdVersion note: "创建版本" range: 15.6 diff --git a/test/data/zentao/config.php b/test/data/zentao/config.php index b809b2033d..8080e22c3e 100644 --- a/test/data/zentao/config.php +++ b/test/data/zentao/config.php @@ -18,7 +18,7 @@ $builder->user = array('rows' => 346, 'data' => array('user')); $builder->usergroup = array('rows' => 349, 'data' => array('usergroup')); $builder->product = array('rows' => 200, 'data' => array('product')); $builder->productplan = array('rows' => 360, 'data' => array('productplan')); -$builder->branch = array('rows' => 160, 'data' => array('branch')); +$builder->branch = array('rows' => 240, 'data' => array('branch')); $builder->build = array('rows' => 8, 'data' => array('build')); $builder->release = array('rows' => 8, 'data' => array('release'));