This commit is contained in:
zimoyin
2026-03-18 13:27:48 +08:00
parent 885b856baa
commit defe163190
7 changed files with 33 additions and 61 deletions
+4 -1
View File
@@ -2,6 +2,7 @@
namespace tests\flow\cases;
use app\config\Config;
use app\flow\config\ProcessConfig;
use app\flow\ProcessEngine;
use tests\flow\TestCase;
@@ -23,6 +24,7 @@ class ManualWashTest extends TestCase
{
parent::setUp();
$this->processor = VirtualityFlowProcessor::createStandard();
Config::getInstance()->setBlockMode(false);
}
protected function tearDown(): void
@@ -31,6 +33,7 @@ class ManualWashTest extends TestCase
$this->processor->reset();
}
// ==================== 1. 正常完整手工洗流程 ====================
/**
@@ -76,7 +79,7 @@ class ManualWashTest extends TestCase
// 验证最终步骤成功
$this->assertTrue($result5->isSuccess(), '干燥步骤 isSuccess() 应为 true');
}
/**
* 测试使用便捷方法执行完整手工洗流程
*/