优化
This commit is contained in:
+3
@@ -35,6 +35,9 @@ class InboundMeasurementEvidenceOpenApiContractTest {
|
||||
Map<String, Object> weightProperties = properties(schemas, "InboundWeightResult");
|
||||
assertThat(weightProperties).containsKeys(
|
||||
"id", "fileId", "recognitionStatus", "grossWeightKg", "netWeightKg", "confirmedAt");
|
||||
assertThat(stringMap(properties(schemas, "UnifiedInboundOrderSummary")
|
||||
.get("actualGrossWeightKg")).get("description").toString())
|
||||
.contains("服务端权威货物总重量", "CONFIRMED netWeightKg", "不得从图片重算");
|
||||
}
|
||||
|
||||
private static Map<String, Object> properties(Map<String, Object> schemas, String schemaName) {
|
||||
|
||||
Reference in New Issue
Block a user