]> git.basschouten.com Git - openhab-addons.git/commitdiff
[itests] Fix after changing Inbox interface (#9150)
authorlolodomo <lg.hc@free.fr>
Sat, 28 Nov 2020 12:17:34 +0000 (13:17 +0100)
committerGitHub <noreply@github.com>
Sat, 28 Nov 2020 12:17:34 +0000 (13:17 +0100)
Related to openhab/openhab-core#1848

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
itests/org.openhab.binding.systeminfo.tests/src/main/java/org/openhab/binding/systeminfo/test/SysteminfoOSGiTest.java
itests/org.openhab.binding.wemo.tests/src/main/java/org/openhab/binding/wemo/internal/discovery/test/WemoDiscoveryOSGiTest.java

index 64fc5dfa25ba64dd646b37599136a73a87abe124..e169d7ad015049dabf19c7c998063158ca1ca6af 100644 (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);
index abdf05ec229d8216b7cb11070d4a509789945c4a..cbaea8cb3ba78e0c6109049563d06dfe0a269bfa 100644 (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);