From: lolodomo Date: Sat, 28 Nov 2020 12:17:34 +0000 (+0100) Subject: [itests] Fix after changing Inbox interface (#9150) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=f333d933efff5790f18036e1e39d790a00dac52b;p=openhab-addons.git [itests] Fix after changing Inbox interface (#9150) Related to openhab/openhab-core#1848 Signed-off-by: Laurent Garnier --- diff --git a/itests/org.openhab.binding.systeminfo.tests/src/main/java/org/openhab/binding/systeminfo/test/SysteminfoOSGiTest.java b/itests/org.openhab.binding.systeminfo.tests/src/main/java/org/openhab/binding/systeminfo/test/SysteminfoOSGiTest.java index 64fc5dfa25..e169d7ad01 100644 --- a/itests/org.openhab.binding.systeminfo.tests/src/main/java/org/openhab/binding/systeminfo/test/SysteminfoOSGiTest.java +++ b/itests/org.openhab.binding.systeminfo.tests/src/main/java/org/openhab/binding/systeminfo/test/SysteminfoOSGiTest.java @@ -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); diff --git a/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/discovery/test/WemoDiscoveryOSGiTest.java b/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/discovery/test/WemoDiscoveryOSGiTest.java index abdf05ec22..cbaea8cb3b 100644 --- a/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/discovery/test/WemoDiscoveryOSGiTest.java +++ b/itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/discovery/test/WemoDiscoveryOSGiTest.java @@ -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);