添加滚动搜索功能

This commit is contained in:
zhouxiunai
2019-04-29 18:07:49 +08:00
parent 1c31f623e5
commit dc9d41623c
3 changed files with 188 additions and 1 deletions
@@ -36,4 +36,20 @@ public class FlightsControllerTest {
.andExpect(jsonPath("$.is_success").value(true))
.andDo(print());
}
/**
* 测试获取所有航班信息接口
* @throws Exception
*/
@Test
public void testMigrateFilghts() throws Exception
{
mvc.
perform(get("/flights/migrate"))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8))
.andExpect(jsonPath("$.is_success").value(true))
.andDo(print());
}
}