diff --git a/test/se/hal/plugin/tellstick/TelstickSerialCommEventTest.java b/test/se/hal/plugin/tellstick/TelstickSerialCommEventTest.java index 1ed4c2ae..29e431c4 100755 --- a/test/se/hal/plugin/tellstick/TelstickSerialCommEventTest.java +++ b/test/se/hal/plugin/tellstick/TelstickSerialCommEventTest.java @@ -96,7 +96,7 @@ public class TelstickSerialCommEventTest { ArrayList list = new ArrayList<>(); list.add(new TellstickDecodedEntry( - this, new DimmerEventData(testData) + this, new DimmerEventData(testData, System.currentTimeMillis()) )); return list; } diff --git a/test/se/hal/plugin/tellstick/TelstickSerialCommSensorTest.java b/test/se/hal/plugin/tellstick/TelstickSerialCommSensorTest.java index c1812aa3..05e41923 100755 --- a/test/se/hal/plugin/tellstick/TelstickSerialCommSensorTest.java +++ b/test/se/hal/plugin/tellstick/TelstickSerialCommSensorTest.java @@ -80,7 +80,7 @@ public class TelstickSerialCommSensorTest { ArrayList list = new ArrayList<>(); list.add(new TellstickDecodedEntry( - this, new TemperatureSensorData(testData) + this, new TemperatureSensorData(testData, 0) )); return list; } diff --git a/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java b/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java index f52f468e..fddefea0 100755 --- a/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java +++ b/test/se/hal/plugin/tellstick/protocol/NexaSelfLearningTest.java @@ -42,7 +42,7 @@ public class NexaSelfLearningTest { NexaSelfLearning nexaDevice = new NexaSelfLearning(); nexaDevice.setHouse(11_772_006); nexaDevice.setUnit(3); - SwitchEventData nexaData = new SwitchEventData(true); + SwitchEventData nexaData = new SwitchEventData(true, System.currentTimeMillis()); byte[] expected = Converter.toBytes(new char[]{ 84, // T @@ -69,7 +69,7 @@ public class NexaSelfLearningTest { NexaSelfLearningDimmer nexaDevice = new NexaSelfLearningDimmer(); nexaDevice.setHouse(11_772_006); nexaDevice.setUnit(3); - DimmerEventData nexaData = new DimmerEventData(0.5); + DimmerEventData nexaData = new DimmerEventData(0.5, System.currentTimeMillis()); byte[] expected = Converter.toBytes(new char[]{ 84, // T