Fix test for file ending.
This commit is contained in:
parent
92710685d6
commit
7eb84d19be
@ -1215,7 +1215,7 @@ public class CSVQueryRestControllerTest extends AbstractDaqRestTest {
|
||||
|
||||
.andDo(MockMvcResultHandlers.print())
|
||||
.andExpect(MockMvcResultMatchers.status().isOk())
|
||||
.andExpect(MockMvcResultMatchers.header().string("Content-Disposition", "attachment; filename=data.gz"));
|
||||
.andExpect(MockMvcResultMatchers.header().string("Content-Disposition", "attachment; filename=data.csv"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -1790,7 +1790,7 @@ public class JsonQueryRestControllerTest extends AbstractDaqRestTest implements
|
||||
|
||||
.andDo(MockMvcResultHandlers.print())
|
||||
.andExpect(MockMvcResultMatchers.status().isOk())
|
||||
.andExpect(MockMvcResultMatchers.header().string("Content-Disposition", "attachment; filename=data.gz"));
|
||||
.andExpect(MockMvcResultMatchers.header().string("Content-Disposition", "attachment; filename=data.json"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -68,7 +68,7 @@ public class ResponseQueryTest extends AbstractDaqRestTest {
|
||||
assertEquals(query.getResponse().getFormat(), deserial.getResponse().getFormat());
|
||||
assertEquals(query.getResponse().getCompression(), deserial.getResponse().getCompression());
|
||||
|
||||
assertEquals(query.getResponse().getCompression().getFileSuffix(), deserial.getResponse().getFileSuffix());
|
||||
assertEquals(query.getResponse().getFileSuffix(), deserial.getResponse().getFileSuffix());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user