This commit is contained in:
2026-08-27 16:54:03 +08:00
parent 7e0911951d
commit 8d39c61863
10 changed files with 119 additions and 7 deletions
@@ -192,7 +192,9 @@ class DeliveryTransferServiceTest {
assertNotNull(tailOrder.getOutboundOrderNo());
assertNotNull(tailOrder.getDeliveryOrderNo());
verify(tailOrders).updateById(tailOrder);
verify(histories).insert(any(LastlegOrderStatusHistory.class));
ArgumentCaptor<LastlegOrderStatusHistory> history = ArgumentCaptor.forClass(LastlegOrderStatusHistory.class);
verify(histories).insert(history.capture());
assertEquals("TENANT-A", history.getValue().getCustomerId());
}
@Test