贴标申请,仓储转运
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package com.baiyue.lastleg.transfer.gateway;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
class HttpTransferMeasurementPhotoFileGatewayContractTest {
|
||||
@Test
|
||||
void defaultsToTheFileServicesActualLocalPort() throws Exception {
|
||||
var field = HttpTransferMeasurementPhotoFileGateway.class.getDeclaredField("baseUrl");
|
||||
|
||||
assertThat(field.getAnnotation(Value.class).value())
|
||||
.isEqualTo("${baiyue.clients.file.url:http://127.0.0.1:9206}");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user