]> git.basschouten.com Git - openhab-addons.git/commitdiff
[irobot] Fix failing test (fix thing UID) (#12623)
authorlolodomo <lg.hc@free.fr>
Mon, 18 Apr 2022 17:35:17 +0000 (19:35 +0200)
committerGitHub <noreply@github.com>
Mon, 18 Apr 2022 17:35:17 +0000 (19:35 +0200)
Fix #12621

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.irobot/src/test/java/org/openhab/binding/irobot/internal/handler/RoombaHandlerTest.java

index ef9e6d2f26e90a4c830d110b04a27dabfe48d57b..59eb414dc1644ca5ae5d6900b00795639800bc9d 100644 (file)
@@ -60,7 +60,7 @@ public class RoombaHandlerTest {
     @Nullable
     private RoombaHandler handler;
     // We have to initialize it to avoid compile errors
-    private @Mock Thing thing = new ThingImpl(new ThingTypeUID("AA:BB"), "");
+    private @Mock Thing thing = new ThingImpl(new ThingTypeUID("AA:BB"), "test");
     @Nullable
     private ThingHandlerCallback callback;