mirror of
https://github.com/danieldemus/openhab-addons
synced 2026-07-31 13:34:22 +02:00
[irobot] fix test (#10958)
Signed-off-by: Florian Binder <fb@java4.info>
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ public class RoombaHandlerTest {
|
||||
config.put("ipaddress", RoombaHandlerTest.IP_ADDRESS);
|
||||
config.put("password", RoombaHandlerTest.PASSWORD);
|
||||
Mockito.when(thing.getConfiguration()).thenReturn(config);
|
||||
Mockito.when(thing.getStatusInfo())
|
||||
Mockito.lenient().when(thing.getStatusInfo())
|
||||
.thenReturn(new ThingStatusInfo(ThingStatus.UNINITIALIZED, ThingStatusDetail.NONE, "mocked"));
|
||||
Mockito.lenient().when(thing.getUID()).thenReturn(new ThingUID("mocked", "irobot", "uid"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user