优化
This commit is contained in:
@@ -822,7 +822,7 @@ class LoadingPickServiceTest {
|
||||
complete.setPickedPackageCount(5);
|
||||
complete.setItemStatus("PICKED");
|
||||
GroupSnapshot group = coloadGroup("LOCKED", 10L,
|
||||
new Member(101L, 301L, 50L, 5), new Member(101L, 301L, 60L, 5));
|
||||
new Member(101L, 301L, 50L, "IN-50", 5), new Member(101L, 301L, 60L, "IN-60", 5));
|
||||
when(repository.taskForUpdate(20L)).thenReturn(task);
|
||||
when(repository.allTaskItemsResolved(20L)).thenReturn(true);
|
||||
when(repository.inboundOwners(20L)).thenReturn(List.of(
|
||||
@@ -883,8 +883,8 @@ class LoadingPickServiceTest {
|
||||
when(repository.completeAccepted(20L, 9L, "operator")).thenReturn(1);
|
||||
when(completionCommands.complete(903L, "worker-multi")).thenReturn(true);
|
||||
GroupSnapshot group = coloadGroup("LOCKED", 10L,
|
||||
new Member(101L, 301L, 50L, 1), new Member(101L, 302L, 60L, 1),
|
||||
new Member(202L, 303L, 70L, 1), new Member(202L, 304L, 80L, 1));
|
||||
new Member(101L, 301L, 50L, "IN-50", 1), new Member(101L, 302L, 60L, "IN-60", 1),
|
||||
new Member(202L, 303L, 70L, "IN-70", 1), new Member(202L, 304L, 80L, "IN-80", 1));
|
||||
when(coloadGroups.findByInbound(anyLong(), anyLong())).thenReturn(group);
|
||||
|
||||
service.processCompletion(completionCommand(903L, "async-multi"), "worker-multi");
|
||||
|
||||
Reference in New Issue
Block a user