Skip to content

Commit 58a4227

Browse files
committed
fix: correct expected error message for missing required variable in app descriptor test
1 parent 1e8e541 commit 58a4227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/orchestrator/app/validator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestValidateAppDescriptor(t *testing.T) {
4040
app, err := ParseDescriptorFile(paths.New("testdata/validator/mixed-required-app.yaml"))
4141
require.NoError(t, err)
4242
err = ValidateAppDescriptor(app, bricksIndex)
43-
assert.Equal(t, "variable \"ARDUINO_DEVICE_ID\" is required by brick \"arduino:arduino_cloud\"", err.Error())
43+
assert.Equal(t, "variable \"ARDUINO_SECRET\" is required by brick \"arduino:arduino_cloud\"", err.Error())
4444
})
4545

4646
t.Run("invalid app descriptor with not found brick id", func(t *testing.T) {

0 commit comments

Comments
 (0)