fix(file): align customs download permission contract

This commit is contained in:
2026-08-28 22:12:29 +08:00
parent 621aec9b2b
commit 833f928a30
2 changed files with 4 additions and 3 deletions
@@ -31,12 +31,13 @@ class CustomsFileExportContractTest {
assertThat(source).contains("LOADING_LIST_CUSTOMS_SOURCE", "LOADING_LIST_CUSTOMS_RESULT")
.contains("maximum: 52428800", "no-store", "CUSTOMER owner scope", "loadingPlanId")
.contains("platform:firstleg:customs:manage", "platform:firstleg:loading-list:list",
.contains("platform:firstleg:customs:manage", "platform:firstleg:customs:list",
"merchant:order:edit", "merchant:order:view")
.contains("customerName", "orderNo", "inboundCode", "sku", "chineseName", "englishName",
"cartonCount", "productQuantity", "grossWeight", "netWeight", "volume", "mark",
"customerRemark")
.doesNotContain("productNameZh", "productNameEn", "shippingMark", "loading-list:export");
.doesNotContain("productNameZh", "productNameEn", "shippingMark", "loading-list:export",
"platform:firstleg:loading-list:list");
}
private static Path repositoryRoot() {