* [unittest] fix error.

This commit is contained in:
tianshujie
2025-08-26 13:41:30 +08:00
parent 7858524c5e
commit 1dd6be70de
+3 -1
View File
@@ -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);