test(ops): 修复测试代码中的参数验证问题

- 修复 broadcast 方法验证,使用 isNull() 匹配 orderId 参数

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
lzh
2026-02-01 02:43:02 +08:00
parent 3c3443aef0
commit 83c9fb98d7

View File

@@ -346,7 +346,7 @@ public class CleanOrderEndToEndTest {
);
// 2. TTS sent
verify(voiceBroadcastService).broadcast(eq(5001L), contains("请回到作业区域"), eq(VoiceBroadcastService.TTS_FLAG_NORMAL));
verify(voiceBroadcastService).broadcast(eq(5001L), contains("请回到作业区域"), isNull());
}
// ==========================================