From ff31b89a3e53d85f1b3be722430036551e876aa5 Mon Sep 17 00:00:00 2001 From: liugang Date: Wed, 17 Sep 2025 09:13:10 +0800 Subject: [PATCH] * [misc] Update buildRepoPaths test to use dedicated test class 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/repo/test/zen/buildrepopaths.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/repo/test/zen/buildrepopaths.php b/module/repo/test/zen/buildrepopaths.php index 0e2e5b2dbc..15375457df 100755 --- a/module/repo/test/zen/buildrepopaths.php +++ b/module/repo/test/zen/buildrepopaths.php @@ -17,10 +17,11 @@ cid=0 include dirname(__FILE__, 5) . '/test/lib/init.php'; include dirname(__FILE__, 2) . '/lib/repozen.unittest.class.php'; +include dirname(__FILE__, 2) . '/lib/repozen_buildrepopaths.unittest.class.php'; su('admin'); -$repoZenTest = new repoZenTest(); +$repoZenTest = new repoZenBuildRepoPathsTest(); r($repoZenTest->buildRepoPathsTest(array(1 => 'project/module1', 2 => 'project/module2', 3 => 'other/test'))) && p('0:text') && e('other'); r($repoZenTest->buildRepoPathsTest(array(1 => 'project/module1', 2 => 'project/module2', 3 => 'other/test'))) && p('1:text') && e('project');