pull/372/head
xiaolongzuo 6 years ago
parent 2a83f3e84e
commit ca31245a8a

@ -54,8 +54,9 @@ public class NacosDiscoveryParameterInitListenerTests
.isEqualTo("testAK");
assertThat(System.getProperty("spring.cloud.nacos.discovery.secret-key"))
.isEqualTo("testSK");
assertThat(System.getProperties().getProperty("webContext"))
assertThat(System.getProperties().getProperty("nacos.naming.web.context"))
.isEqualTo("/vipserver");
assertThat(System.getProperties().getProperty("serverPort")).isEqualTo("80");
assertThat(System.getProperties().getProperty("nacos.naming.exposed.port"))
.isEqualTo("80");
}
}

Loading…
Cancel
Save