mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[irobot] fix test (#10958)
Signed-off-by: Florian Binder <fb@java4.info>
This commit is contained in:
parent
a06be4785f
commit
ab816b08c6
@ -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"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user