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
@@ -78,6 +78,7 @@ class LastlegOrderServiceTest {
assertEquals("LAX-02", cargo.getValue().getDestinationWarehouseCode());
ArgumentCaptor<LastlegOrderStatusHistory> history = ArgumentCaptor.forClass(LastlegOrderStatusHistory.class);
verify(histories).insert(history.capture());
assertEquals("100", history.getValue().getCustomerId());
assertEquals("PENDING_ASSIGNMENT", history.getValue().getFromStatus());
assertEquals("DESTINATION_ASSIGNED", history.getValue().getToStatus());
}