mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
Fix build (AbstractStorageBasedTypeProviderTest) (#3596)
Fix #3594 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
8e1a2cfd0a
commit
6af9870c50
@ -84,7 +84,7 @@ public class AbstractStorageBasedTypeProviderTest {
|
||||
|
||||
ChannelDefinition channelDefinition = new ChannelDefinitionBuilder("channelName",
|
||||
new ChannelTypeUID("system:color")).withLabel("label").withDescription("description")
|
||||
.withProperties(Map.of("key", "value")).withAutoUpdatePolicy(AutoUpdatePolicy.VETO).build();
|
||||
.withProperties(Map.of("key", "value")).withAutoUpdatePolicy(AutoUpdatePolicy.VETO).build();
|
||||
ChannelGroupType expected = ChannelGroupTypeBuilder.instance(groupTypeUID, "testLabel")
|
||||
.withDescription("testDescription").withCategory("testCategory")
|
||||
.withChannelDefinitions(List.of(channelDefinition)).build();
|
||||
@ -114,7 +114,7 @@ public class AbstractStorageBasedTypeProviderTest {
|
||||
|
||||
ChannelDefinition channelDefinition = new ChannelDefinitionBuilder("channelName",
|
||||
new ChannelTypeUID("system:color")).withLabel("label").withDescription("description")
|
||||
.withProperties(Map.of("key", "value")).withAutoUpdatePolicy(AutoUpdatePolicy.VETO).build();
|
||||
.withProperties(Map.of("key", "value")).withAutoUpdatePolicy(AutoUpdatePolicy.VETO).build();
|
||||
ChannelGroupDefinition channelGroupDefinition = new ChannelGroupDefinition("groupName",
|
||||
new ChannelGroupTypeUID("testBinding:channelGroupType"), "label", "description");
|
||||
ThingType expected = ThingTypeBuilder.instance(thingTypeUID, "testLabel").withDescription("description")
|
||||
|
Loading…
Reference in New Issue
Block a user