From 33ff7d89f2ef52f306c75c7440b84c288c431dfa Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 16 Sep 2025 19:46:48 +0800 Subject: [PATCH] + [misc] Add unit tests for programplanZen::buildCreateView() 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 --- .../programplan/test/zen/buildcreateview.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 module/programplan/test/zen/buildcreateview.php diff --git a/module/programplan/test/zen/buildcreateview.php b/module/programplan/test/zen/buildcreateview.php new file mode 100755 index 0000000000..7b664fa814 --- /dev/null +++ b/module/programplan/test/zen/buildcreateview.php @@ -0,0 +1,33 @@ +#!/usr/bin/env php +buildCreateViewTest(1, 'normal')) && p('success') && e('1'); +r($programplanTest->buildCreateViewTest(2, 'ipd')) && p('success') && e('1'); +r($programplanTest->buildCreateViewTest(3, 'withProduct')) && p('success') && e('1'); +r($programplanTest->buildCreateViewTest(4, 'withPlan')) && p('success') && e('1'); +r($programplanTest->buildCreateViewTest(5, 'stageType')) && p('success') && e('1'); \ No newline at end of file