修改测试的接口地址
This commit is contained in:
@@ -120,6 +120,7 @@ public class WebUpdateInfoControllerTest extends BaseTest {
|
||||
|
||||
@Test
|
||||
public void lastestUpdateTime() throws Exception {
|
||||
mockMvc.perform(get("/lastestUpdateTime")).andDo(result -> assertEquals(SUCCESS.getCode(), JSONObject.fromObject(result.getResponse().getContentAsString()).getInt(Code)));
|
||||
mockMvc.perform(get("/lastestUpdate")).andDo(result ->
|
||||
assertEquals(SUCCESS.getCode(), JSONObject.fromObject(result.getResponse().getContentAsString()).getInt(Code)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user