From 1fb2395fce0aebe811f64938722870e7792c710d Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 11 Nov 2025 04:15:27 +0800 Subject: [PATCH] + [misc] Add unit tests for productZen::getStoryIdList() method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- module/product/test/lib/zen.class.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/module/product/test/lib/zen.class.php b/module/product/test/lib/zen.class.php index 2b8445c643..b68aaea1bc 100644 --- a/module/product/test/lib/zen.class.php +++ b/module/product/test/lib/zen.class.php @@ -2174,4 +2174,18 @@ class productZenTest extends baseTest return array('count' => 0); } + + /** + * Test getStoryIdList method. + * + * @param array $stories + * @access public + * @return array + */ + public function getStoryIdListTest(array $stories = array()) + { + $result = $this->invokeArgs('getStoryIdList', array($stories)); + if(dao::isError()) return dao::getError(); + return $result; + } }