[itests] Fix after changing Inbox interface (#9150)
Related to openhab/openhab-core#1848 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
9211248f96
commit
f333d933ef
|
@ -931,7 +931,7 @@ public class SysteminfoOSGiTest extends JavaOSGiTest {
|
||||||
assertFalse(results.isEmpty(), "No Thing with UID " + computerUID.getAsString() + " in inbox");
|
assertFalse(results.isEmpty(), "No Thing with UID " + computerUID.getAsString() + " in inbox");
|
||||||
});
|
});
|
||||||
|
|
||||||
inbox.approve(computerUID, SysteminfoDiscoveryService.DEFAULT_THING_LABEL);
|
inbox.approve(computerUID, SysteminfoDiscoveryService.DEFAULT_THING_LABEL, null);
|
||||||
|
|
||||||
waitForAssert(() -> {
|
waitForAssert(() -> {
|
||||||
systemInfoThing = thingRegistry.get(computerUID);
|
systemInfoThing = thingRegistry.get(computerUID);
|
||||||
|
|
|
@ -88,7 +88,7 @@ public class WemoDiscoveryOSGiTest extends GenericWemoOSGiTest {
|
||||||
assertTrue(inbox.stream().anyMatch(forThingUID(thingUID)));
|
assertTrue(inbox.stream().anyMatch(forThingUID(thingUID)));
|
||||||
});
|
});
|
||||||
|
|
||||||
inbox.approve(thingUID, DEVICE_FRIENDLY_NAME);
|
inbox.approve(thingUID, DEVICE_FRIENDLY_NAME, null);
|
||||||
|
|
||||||
waitForAssert(() -> {
|
waitForAssert(() -> {
|
||||||
Thing thing = thingRegistry.get(thingUID);
|
Thing thing = thingRegistry.get(thingUID);
|
||||||
|
|
Loading…
Reference in New Issue