From d077315ad1d80c57ae22a0c5cf35ce625c3aeee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Grze=C5=9Blowski?= Date: Fri, 29 Nov 2024 22:03:10 +0100 Subject: [PATCH] Fix `ChannelStateDecoderTest` (after updating decoder) --- .../protocol/api/decoders/dsc/ChannelStateDecoderTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/src/test/java/pl/grzeslowski/jsupla/protocol/api/decoders/dsc/ChannelStateDecoderTest.java b/protocol/src/test/java/pl/grzeslowski/jsupla/protocol/api/decoders/dsc/ChannelStateDecoderTest.java index 8a941788..e07275f3 100644 --- a/protocol/src/test/java/pl/grzeslowski/jsupla/protocol/api/decoders/dsc/ChannelStateDecoderTest.java +++ b/protocol/src/test/java/pl/grzeslowski/jsupla/protocol/api/decoders/dsc/ChannelStateDecoderTest.java @@ -42,6 +42,7 @@ public void decodeExampleFromAuraton() { assertThat(decode.lightSourceLifespanLeft).isNull(); assertThat(decode.lightSourceOperatingTime).isZero(); assertThat(decode.operatingTime).isNull(); - assertThat(decode.emptySpace).isEqualTo(new byte[]{0, 0}); + assertThat(decode.eOL).isOne(); + assertThat(decode.emptySpace).isEqualTo(new byte[]{0}); } } \ No newline at end of file