diff --git a/src/test/java/ch/psi/daq/test/queryrest/controller/JsonQueryRestControllerTest.java b/src/test/java/ch/psi/daq/test/queryrest/controller/JsonQueryRestControllerTest.java index 8274729..d4b8be7 100644 --- a/src/test/java/ch/psi/daq/test/queryrest/controller/JsonQueryRestControllerTest.java +++ b/src/test/java/ch/psi/daq/test/queryrest/controller/JsonQueryRestControllerTest.java @@ -181,8 +181,8 @@ public class JsonQueryRestControllerTest 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].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey())) .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray()) .andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey())) @@ -207,8 +207,8 @@ public class JsonQueryRestControllerTest 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[26]").exists()) + .andExpect(MockMvcResultMatchers.jsonPath("$[0].channels[27]").doesNotExist()) .andExpect(MockMvcResultMatchers.jsonPath("$[1].backend").value(Backend.SF_ARCHIVERAPPLIANCE.getKey())) .andExpect(MockMvcResultMatchers.jsonPath("$[1].channels").isArray()) .andExpect(MockMvcResultMatchers.jsonPath("$[2].backend").value(Backend.SF_IMAGEBUFFER.getKey()))