This commit is contained in:
2026-08-15 11:20:45 +08:00
parent 0f915d7b24
commit 282eb73371
2 changed files with 2 additions and 2 deletions
@@ -16,7 +16,7 @@ class FinancePhase1PermissionContractTest {
void freezesG1AndG2ControllerPermissionsAndHttpActions() throws Exception {
assertEndpoint("listDerivedCustomerAccounts", GetMapping.class,
"platform:finance:customer-account:list",
int.class, int.class, String.class, String.class);
int.class, int.class, String.class, String.class, Long.class);
assertEndpoint("listDerivedCustomerAccountLedger", GetMapping.class,
"platform:finance:customer-account:list",
long.class, int.class, int.class,
@@ -60,7 +60,7 @@ class PartnerImportServiceTest {
void shouldRejectWholeBatchWhenAnyRowIsInvalid() throws Exception {
byte[] file = withRows(service.template(), new String[][] {
{"CAR-100", "测试船公司一", "CARRIER", "张三", "13800138000", "", "CN", "", "深圳市", "", "测试路 1 号", "", "ACTIVE", ""},
{"CUS-100", "测试单位二", "UNKNOWN", "李四", "13900139000", "bad-email", "C", "", "", "", "", "", "ENABLED", ""}
{"CAR-100", "测试单位二", "UNKNOWN", "李四", "13900139000", "bad-email", "C", "", "", "", "", "", "ENABLED", ""}
});
PartnerImportResult result = service.importFile(0L, "partners.xlsx", file);