diff --git a/src/test/java/de/backendstack21/realtime/pubsub/IncomingMessageTest.java b/src/test/java/de/backendstack21/realtime/pubsub/IncomingMessageTest.java index 88b362a..5c25649 100644 --- a/src/test/java/de/backendstack21/realtime/pubsub/IncomingMessageTest.java +++ b/src/test/java/de/backendstack21/realtime/pubsub/IncomingMessageTest.java @@ -45,7 +45,7 @@ public void testFromMap_MissingFields() { assertNotNull(incomingMessage); assertEquals("test.topic", incomingMessage.getTopic()); assertNull(incomingMessage.getMessageType()); - assertNull(incomingMessage.getCompression()); + assertFalse(incomingMessage.getCompression()); assertNull(incomingMessage.getData()); }