test(firstleg): include palletization in fee confirmation contract

This commit is contained in:
2026-10-26 11:42:42 +08:00
parent 50687c851d
commit 0fe1d10566
@@ -194,8 +194,9 @@ class FbaPricingRepositoryRuleListTest {
.contains(10001L, 88L, "FEE_CONFIRMING", "CONFIRMED", "SENT", "WAIT_PALLET"); .contains(10001L, 88L, "FEE_CONFIRMING", "CONFIRMED", "SENT", "WAIT_PALLET");
} }
/** 费用确认状态集覆盖待组托及后续履约阶段。 */
@Test @Test
void feeConfirmationAllowsPostLoadingInboundStatuses() { void feeConfirmationAllowsPalletizationAndPostLoadingInboundStatuses() {
String source; String source;
try { try {
source = Files.readString(Path.of( source = Files.readString(Path.of(
@@ -205,7 +206,7 @@ class FbaPricingRepositoryRuleListTest {
throw new AssertionError(exception); throw new AssertionError(exception);
} }
assertThat(source) assertThat(source)
.contains("List.of(\"FEE_CONFIRMING\", \"WAIT_PALLET\", \"WAIT_SPLIT\", \"LOADING\", \"LOADED\", \"DELIVERED\")"); .contains("List.of(\"FEE_CONFIRMING\", \"WAIT_PALLET\", \"WAIT_PALLETIZE\", \"WAIT_SPLIT\", \"LOADING\", \"LOADED\", \"DELIVERED\")");
} }
@Test @Test