test
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 测试使用便捷方法执行完整手工洗流程
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user