Fix build after core-changes (#14431)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
@@ -161,7 +161,7 @@ public class NtpOSGiTest extends JavaOSGiTest {
|
||||
|
||||
channelTypeUID = new ChannelTypeUID(NtpBindingConstants.BINDING_ID + ":channelType");
|
||||
channelTypeProvider = mock(ChannelTypeProvider.class);
|
||||
when(channelTypeProvider.getChannelType(any(ChannelTypeUID.class), any(Locale.class)))
|
||||
when(channelTypeProvider.getChannelType(any(ChannelTypeUID.class), nullable(Locale.class)))
|
||||
.thenReturn(ChannelTypeBuilder.state(channelTypeUID, "label", CoreItemFactory.SWITCH).build());
|
||||
registerService(channelTypeProvider);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user