diff --git a/bundles/org.openhab.binding.sensibo/src/test/java/org/openhab/binding/sensibo/internal/handler/SensiboAccountHandlerTest.java b/bundles/org.openhab.binding.sensibo/src/test/java/org/openhab/binding/sensibo/internal/handler/SensiboAccountHandlerTest.java index 169d4c6131b..7ba0cc74861 100644 --- a/bundles/org.openhab.binding.sensibo/src/test/java/org/openhab/binding/sensibo/internal/handler/SensiboAccountHandlerTest.java +++ b/bundles/org.openhab.binding.sensibo/src/test/java/org/openhab/binding/sensibo/internal/handler/SensiboAccountHandlerTest.java @@ -90,6 +90,7 @@ public class SensiboAccountHandlerTest { final String getPodsResponse = new String(getClass().getResourceAsStream(podsResponse).readAllBytes(), StandardCharsets.UTF_8); stubFor(get(urlEqualTo("/api/v2/users/me/pods?fields=*&apiKey=APIKEY")) + .withHeader("Accept-Encoding", equalTo("gzip")) .willReturn(aResponse().withStatus(200).withBody(getPodsResponse))); when(sensiboAccountMock.getConfiguration()).thenReturn(configuration);