From f333d933efff5790f18036e1e39d790a00dac52b Mon Sep 17 00:00:00 2001 From: lolodomo Date: Sat, 28 Nov 2020 13:17:34 +0100 Subject: [PATCH] [itests] Fix after changing Inbox interface (#9150) Related to openhab/openhab-core#1848 Signed-off-by: Laurent Garnier --- .../org/openhab/binding/systeminfo/test/SysteminfoOSGiTest.java | 2 +- .../wemo/internal/discovery/test/WemoDiscoveryOSGiTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 64fc5dfa25b..e169d7ad015 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 abdf05ec229..cbaea8cb3ba 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);