添加滚动搜索功能
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user