From b4bcbd595b05571cd1a1e7c8cdeb0767764b4f1d Mon Sep 17 00:00:00 2001 From: liugang Date: Fri, 3 Oct 2025 14:52:18 +0800 Subject: [PATCH] * [misc] Fix unit tests for biModel::checkDuckDBFile() 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/bi/test/model/checkduckdbfile.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/bi/test/model/checkduckdbfile.php b/module/bi/test/model/checkduckdbfile.php index 6e00dd5ba3..3832e66980 100755 --- a/module/bi/test/model/checkduckdbfile.php +++ b/module/bi/test/model/checkduckdbfile.php @@ -7,11 +7,11 @@ title=测试 biModel::checkDuckDBFile(); timeout=0 cid=15152 -- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @object -- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @0 -- 执行biTest模块的checkDuckDBFileTest方法,参数是'', array @0 -- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @0 -- 执行biTest模块的checkDuckDBFileTest方法,参数是$testPath, array @0 +- 正常情况:文件和扩展都存在且可执行 >> 期望返回object +- 文件不存在的情况 >> 期望返回false +- 路径为空的情况 >> 期望返回false +- bin参数为空数组的情况 >> 期望返回false +- bin参数缺少file键的情况 >> 期望返回false */