Less channels.
This commit is contained in:
@ -150,8 +150,8 @@ public class QueryRestControllerJsonTest extends AbstractDaqRestTest {
|
|||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0]").exists())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0]").exists())
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].backend").value(Backend.SF_DATABUFFER.getKey()))
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].backend").value(Backend.SF_DATABUFFER.getKey()))
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels").isArray())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels").isArray())
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").exists())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[23]").exists())
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").doesNotExist())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").doesNotExist())
|
||||||
// .andExpect(MockMvcResultMatchers.jsonPath("$[1]").exists())
|
// .andExpect(MockMvcResultMatchers.jsonPath("$[1]").exists())
|
||||||
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.archiverappliance.name()))
|
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.archiverappliance.name()))
|
||||||
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
||||||
@ -176,8 +176,8 @@ public class QueryRestControllerJsonTest extends AbstractDaqRestTest {
|
|||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0]").exists())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0]").exists())
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].backend").value(Backend.SF_DATABUFFER.getKey()))
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].backend").value(Backend.SF_DATABUFFER.getKey()))
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels").isArray())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels").isArray())
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").exists())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").exists())
|
||||||
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[26]").doesNotExist())
|
.andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").doesNotExist())
|
||||||
// .andExpect(MockMvcResultMatchers.jsonPath("$[1]").exists())
|
// .andExpect(MockMvcResultMatchers.jsonPath("$[1]").exists())
|
||||||
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.archiverappliance.name()))
|
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.archiverappliance.name()))
|
||||||
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
// .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())
|
||||||
|
Reference in New Issue
Block a user