diff --git a/src/test/java/ch/psi/daq/test/queryrest/controller/QueryRestControllerJsonTest.java b/src/test/java/ch/psi/daq/test/queryrest/controller/QueryRestControllerJsonTest.java index 15e7677..21dace7 100644 --- a/src/test/java/ch/psi/daq/test/queryrest/controller/QueryRestControllerJsonTest.java +++ b/src/test/java/ch/psi/daq/test/queryrest/controller/QueryRestControllerJsonTest.java @@ -150,8 +150,8 @@ public class QueryRestControllerJsonTest extends AbstractDaqRestTest { .andExpect(MockMvcResultMatchers.jsonPath("$[0]").exists()) .andExpect(MockMvcResultMatchers.jsonPath("$[0].backend").value(Backend.SF_DATABUFFER.getKey())) .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels").isArray()) - .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[23]").exists()) - .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").doesNotExist()) + .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").exists()) + .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").doesNotExist()) // .andExpect(MockMvcResultMatchers.jsonPath("$[1]").exists()) // .andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.archiverappliance.name())) // .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray()) @@ -176,8 +176,8 @@ public class QueryRestControllerJsonTest extends AbstractDaqRestTest { .andExpect(MockMvcResultMatchers.jsonPath("$[0]").exists()) .andExpect(MockMvcResultMatchers.jsonPath("$[0].backend").value(Backend.SF_DATABUFFER.getKey())) .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels").isArray()) - .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[24]").exists()) - .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").doesNotExist()) + .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[25]").exists()) + .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[26]").doesNotExist()) // .andExpect(MockMvcResultMatchers.jsonPath("$[1]").exists()) // .andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.archiverappliance.name())) // .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray())