From 1dd6be70de3a4b43ce2c600efffcd2257fb08563 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 26 Aug 2025 13:41:16 +0800 Subject: [PATCH] * [unittest] fix error. --- module/story/test/model/update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/story/test/model/update.php b/module/story/test/model/update.php index ec9d935956..60e359a447 100755 --- a/module/story/test/model/update.php +++ b/module/story/test/model/update.php @@ -23,7 +23,9 @@ include dirname(__FILE__, 5) . '/test/lib/init.php'; include dirname(__FILE__, 2) . '/lib/story.unittest.class.php'; su('admin'); -zenData('story')->gen(10); +$storyTable = zenData('story'); +$storyTable->type->range('epic'); +$storyTable->gen(10); zenData('storyspec')->gen(30); zenData('product')->gen(30);