diff --git a/itests/org.openhab.core.thing.tests/src/main/java/org/openhab/core/thing/internal/update/ThingUpdateOSGiTest.java b/itests/org.openhab.core.thing.tests/src/main/java/org/openhab/core/thing/internal/update/ThingUpdateOSGiTest.java index db53ab40eac..267983faf6c 100644 --- a/itests/org.openhab.core.thing.tests/src/main/java/org/openhab/core/thing/internal/update/ThingUpdateOSGiTest.java +++ b/itests/org.openhab.core.thing.tests/src/main/java/org/openhab/core/thing/internal/update/ThingUpdateOSGiTest.java @@ -293,6 +293,7 @@ private Thing assertThing(Thing oldThing, int expectedNewThingTypeVersion) { assertThat(updatedThing.getStatus(), is(ThingStatus.ONLINE)); // check thing type version is upgraded + @Nullable String thingTypeVersion = updatedThing.getProperties().get(PROPERTY_THING_TYPE_VERSION); assertThat(thingTypeVersion, is(Integer.toString(expectedNewThingTypeVersion)));