[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:
lolodomo 2020-11-28 13:17:34 +01:00 committed by GitHub
parent 9211248f96
commit f333d933ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -931,7 +931,7 @@ public class SysteminfoOSGiTest extends JavaOSGiTest {
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(() -> {
systemInfoThing = thingRegistry.get(computerUID);

View File

@ -88,7 +88,7 @@ public class WemoDiscoveryOSGiTest extends GenericWemoOSGiTest {
assertTrue(inbox.stream().anyMatch(forThingUID(thingUID)));
});
inbox.approve(thingUID, DEVICE_FRIENDLY_NAME);
inbox.approve(thingUID, DEVICE_FRIENDLY_NAME, null);
waitForAssert(() -> {
Thing thing = thingRegistry.get(thingUID);