Skip to content
Snippets Groups Projects
Commit 61244658 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4814 Other try to specify port

parent a833aa75
Branches
Tags
No related merge requests found
...@@ -20,7 +20,7 @@ class MongoConfigServerITCase { ...@@ -20,7 +20,7 @@ class MongoConfigServerITCase {
@Test @Test
void shouldHaveHttpEndpoint() throws Exception { void shouldHaveHttpEndpoint() throws Exception {
var result = mockMvc var result = mockMvc
.perform(get("http://localhost:8080/" + MongoPropertySourceTestFactory.APPNAME + "/" + MongoPropertySourceTestFactory.PROFILE)); .perform(get("/" + MongoPropertySourceTestFactory.APPNAME + "/" + MongoPropertySourceTestFactory.PROFILE, 8080));
result.andExpect(status().isOk()); result.andExpect(status().isOk());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment