From e42202d2e55cfad2a254e1575989e2814080b265 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Mon, 18 Apr 2022 19:35:48 +0200 Subject: [PATCH] [luftdateninfo] Fix tests (fix thing UID and thing type UID) (#12624) Fix #12622 Signed-off-by: Laurent Garnier --- .../binding/luftdateninfo/internal/mock/ThingMock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.luftdateninfo/src/test/java/org/openhab/binding/luftdateninfo/internal/mock/ThingMock.java b/bundles/org.openhab.binding.luftdateninfo/src/test/java/org/openhab/binding/luftdateninfo/internal/mock/ThingMock.java index ac6d8d269..f63bf6a28 100644 --- a/bundles/org.openhab.binding.luftdateninfo/src/test/java/org/openhab/binding/luftdateninfo/internal/mock/ThingMock.java +++ b/bundles/org.openhab.binding.luftdateninfo/src/test/java/org/openhab/binding/luftdateninfo/internal/mock/ThingMock.java @@ -111,12 +111,12 @@ public class ThingMock implements Thing { @Override public ThingUID getUID() { - return new ThingUID("", ""); + return new ThingUID("luftdateninfo", "test"); } @Override public ThingTypeUID getThingTypeUID() { - return new ThingTypeUID(""); + return new ThingTypeUID("luftdateninfo:any"); } @Override