diff --git a/itests/org.openhab.binding.modbus.tests/src/main/java/org/openhab/binding/modbus/tests/AbstractModbusOSGiTest.java b/itests/org.openhab.binding.modbus.tests/src/main/java/org/openhab/binding/modbus/tests/AbstractModbusOSGiTest.java
index 11ad6a941..3aaa469ed 100644
--- a/itests/org.openhab.binding.modbus.tests/src/main/java/org/openhab/binding/modbus/tests/AbstractModbusOSGiTest.java
+++ b/itests/org.openhab.binding.modbus.tests/src/main/java/org/openhab/binding/modbus/tests/AbstractModbusOSGiTest.java
@@ -45,6 +45,7 @@ import org.openhab.binding.modbus.internal.ModbusHandlerFactory;
import org.openhab.core.events.Event;
import org.openhab.core.events.EventFilter;
import org.openhab.core.events.EventSubscriber;
+import org.openhab.core.i18n.UnitProvider;
import org.openhab.core.io.transport.modbus.ModbusCommunicationInterface;
import org.openhab.core.io.transport.modbus.ModbusManager;
import org.openhab.core.items.Item;
@@ -118,6 +119,7 @@ public abstract class AbstractModbusOSGiTest extends JavaOSGiTest {
private final Logger logger = LoggerFactory.getLogger(AbstractModbusOSGiTest.class);
protected @Mock @NonNullByDefault({}) ModbusManager mockedModbusManager;
+ protected @Mock @NonNullByDefault({}) UnitProvider mockedUnitProvider;
protected @NonNullByDefault({}) ModbusManager realModbusManager;
protected @NonNullByDefault({}) ManagedThingProvider thingProvider;
protected @NonNullByDefault({}) ManagedItemProvider itemProvider;
@@ -156,7 +158,7 @@ public abstract class AbstractModbusOSGiTest extends JavaOSGiTest {
itemChannelLinkRegistry = getService(ItemChannelLinkRegistry.class);
assertThat("Could not get ItemChannelLinkRegistry", itemChannelLinkRegistry, is(notNullValue()));
- coreItemFactory = new CoreItemFactory();
+ coreItemFactory = new CoreItemFactory(mockedUnitProvider);
// Clean slate for all tests
reset(mockedModbusManager);
diff --git a/itests/pom.xml b/itests/pom.xml
index 50c3ae517..f404ec305 100644
--- a/itests/pom.xml
+++ b/itests/pom.xml
@@ -25,9 +25,7 @@
org.openhab.binding.hue.tests
org.openhab.binding.max.tests
org.openhab.binding.mielecloud.tests
-
+ org.openhab.binding.modbus.tests
org.openhab.binding.mqtt.homeassistant.tests
org.openhab.binding.mqtt.homie.tests