diff --git a/dpppt-config-backend/src/main/java/org/dpppt/switzerland/backend/sdk/config/ws/controller/DPPPTConfigController.java b/dpppt-config-backend/src/main/java/org/dpppt/switzerland/backend/sdk/config/ws/controller/DPPPTConfigController.java index 48cd30f..1b845d6 100644 --- a/dpppt-config-backend/src/main/java/org/dpppt/switzerland/backend/sdk/config/ws/controller/DPPPTConfigController.java +++ b/dpppt-config-backend/src/main/java/org/dpppt/switzerland/backend/sdk/config/ws/controller/DPPPTConfigController.java @@ -40,7 +40,7 @@ public class DPPPTConfigController { "ios-200524.1316.87", "ios-200521.2320.79"); private static final String IOS_VERSION_13_7 = "ios13.7"; - private static final String IOS_VERSION_14 = "ios14"; + private static final String IOS_VERSION_14 = "ios14.0"; private static final Version APP_VERSION_1_0_9 = new Version("ios-1.0.9"); private static final Logger logger = LoggerFactory.getLogger(DPPPTConfigController.class); diff --git a/dpppt-config-backend/src/test/java/org/dpppt/switzerland/backend/sdk/config/ws/BaseControllerTest.java b/dpppt-config-backend/src/test/java/org/dpppt/switzerland/backend/sdk/config/ws/BaseControllerTest.java index c5c79da..953f339 100644 --- a/dpppt-config-backend/src/test/java/org/dpppt/switzerland/backend/sdk/config/ws/BaseControllerTest.java +++ b/dpppt-config-backend/src/test/java/org/dpppt/switzerland/backend/sdk/config/ws/BaseControllerTest.java @@ -164,7 +164,7 @@ public void testForUpdateNote() throws Exception { @Test public void testForceUpdate() throws Exception { MockHttpServletResponse result = mockMvc.perform( - get("/v1/config").param("osversion", "ios14").param("appversion", "ios-1.0.8").param("buildnr", "ios-2020.0145asdfa34")) + get("/v1/config").param("osversion", "ios14.0").param("appversion", "ios-1.0.8").param("buildnr", "ios-2020.0145asdfa34")) .andExpect(status().is2xxSuccessful()).andReturn().getResponse(); assertIsForceUpdate(result);