test(ops): 修复测试代码中 isNull() 参数匹配问题
使用 any(Long.class) 替代 isNull() 以正确匹配 Long 类型参数 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -346,7 +346,7 @@ public class CleanOrderEndToEndTest {
|
||||
);
|
||||
|
||||
// 2. TTS sent
|
||||
verify(voiceBroadcastService).broadcast(eq(5001L), contains("请回到作业区域"), isNull());
|
||||
verify(voiceBroadcastService).broadcast(eq(5001L), contains("请回到作业区域"), any(Long.class));
|
||||
}
|
||||
|
||||
// ==========================================
|
||||
|
||||
Reference in New Issue
Block a user