Skip to content

Commit 24e94a6

Browse files
committed
Fix dashboard with variable tests
1 parent 1a8f35e commit 24e94a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/template/load_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ func (t *thingShowTest) ThingShow(thingID string) (*iotclient.ArduinoThing, erro
149149
if thingID == thingOverriddenID {
150150
return &iotclient.ArduinoThing{
151151
Properties: []iotclient.ArduinoProperty{
152-
{Id: switchyOverriddenID, Name: "switchy"},
152+
{Id: switchyOverriddenID, VariableName: "switchy"},
153153
},
154154
}, nil
155155
}
156156
return &iotclient.ArduinoThing{
157157
Properties: []iotclient.ArduinoProperty{
158-
{Id: switchyID, Name: "switchy"},
159-
{Id: relayID, Name: "relay_2"},
160-
{Id: blinkSpeedID, Name: "blink_speed"},
158+
{Id: switchyID, VariableName: "switchy"},
159+
{Id: relayID, VariableName: "relay_2"},
160+
{Id: blinkSpeedID, VariableName: "blink_speed"},
161161
},
162162
}, nil
163163
}

0 commit comments

Comments
 (0)