Skip to content

Commit 290039d

Browse files
committed
Fix for test
1 parent f7ebb13 commit 290039d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

internal/template/load_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var (
6868
Widgets: []iotclient.Widget{
6969
{Name: toStringPointer("Switch-name"), Height: 1, HeightMobile: toInt64Pointer(2), Width: 3, WidthMobile: toInt64Pointer(4),
7070
X: 5, XMobile: toInt64Pointer(6), Y: 7, YMobile: toInt64Pointer(8), Options: map[string]interface{}{"showLabels": true},
71-
Type: "Switch",
71+
Type: "Switch", AdditionalProperties: map[string]any{},
7272
},
7373
},
7474
}
@@ -78,7 +78,7 @@ var (
7878
Widgets: []iotclient.Widget{
7979
{Name: toStringPointer("Switch-name"), Height: 1, HeightMobile: toInt64Pointer(2), Width: 3, WidthMobile: toInt64Pointer(4),
8080
X: 5, XMobile: toInt64Pointer(6), Y: 7, YMobile: toInt64Pointer(8), Options: map[string]interface{}{},
81-
Type: "Switch",
81+
Type: "Switch", AdditionalProperties: map[string]any{},
8282
},
8383
},
8484
}
@@ -88,7 +88,7 @@ var (
8888
Widgets: []iotclient.Widget{
8989
{Name: toStringPointer("Switch-name"), Height: 1, HeightMobile: toInt64Pointer(2), Width: 3, WidthMobile: toInt64Pointer(4),
9090
X: 5, XMobile: toInt64Pointer(6), Y: 7, YMobile: toInt64Pointer(8), Options: map[string]interface{}{"showLabels": true}, Type: "Switch",
91-
Variables: []string{switchyID},
91+
Variables: []string{switchyID}, AdditionalProperties: map[string]any{},
9292
},
9393
},
9494
}
@@ -98,7 +98,7 @@ var (
9898
Widgets: []iotclient.Widget{
9999
{Name: toStringPointer("Switch-name"), Height: 1, HeightMobile: toInt64Pointer(2), Width: 3, WidthMobile: toInt64Pointer(4),
100100
X: 5, XMobile: toInt64Pointer(6), Y: 7, YMobile: toInt64Pointer(8), Options: map[string]interface{}{"showLabels": true}, Type: "Switch",
101-
Variables: []string{switchyOverriddenID},
101+
Variables: []string{switchyOverriddenID}, AdditionalProperties: map[string]any{},
102102
},
103103
},
104104
}
@@ -108,11 +108,11 @@ var (
108108
Widgets: []iotclient.Widget{
109109
{Name: toStringPointer("blink_speed"), Height: 7, Width: 8,
110110
X: 7, Y: 5, Options: map[string]interface{}{"min": float64(0), "max": float64(5000)}, Type: "Slider",
111-
Variables: []string{blinkSpeedID},
111+
Variables: []string{blinkSpeedID}, AdditionalProperties: map[string]any{},
112112
},
113113
{Name: toStringPointer("relay_2"), Height: 5, Width: 5,
114114
X: 5, Y: 0, Options: map[string]interface{}{"showLabels": true}, Type: "Switch",
115-
Variables: []string{relayID},
115+
Variables: []string{relayID}, AdditionalProperties: map[string]any{},
116116
},
117117
},
118118
}

0 commit comments

Comments
 (0)