fix lastleg order detail customer schema

This commit is contained in:
2026-08-24 11:55:50 +08:00
parent 4977b09af9
commit 739c20cb3d
7 changed files with 63 additions and 2 deletions
@@ -84,7 +84,9 @@ class InboundStockReceiptServiceTest {
assertEquals(10L, receipt.getValue().getInventoryPositionId());
assertEquals("INBOUND_COMPLETED", fixture.order.getCurrentStatus());
assertEquals("INBOUND_PLAN:COMPLETED", fixture.order.getSubOrderStatus());
verify(orderHistories).insert(any(LastlegOrderStatusHistory.class));
ArgumentCaptor<LastlegOrderStatusHistory> history = ArgumentCaptor.forClass(LastlegOrderStatusHistory.class);
verify(orderHistories).insert(history.capture());
assertEquals("100", history.getValue().getCustomerId());
}
@Test