Specify AWS Functions as list
to conform with the yaml standard of list definition.
This commit is contained in:

committed by
Sebastian Serth

parent
d80761a973
commit
0f8a1fa25a
@ -17,7 +17,7 @@ func TestAWSEnvironmentManager_CreateOrUpdate(t *testing.T) {
|
||||
uniqueImage := "java11Exec"
|
||||
|
||||
t.Run("can create default Java environment", func(t *testing.T) {
|
||||
config.Config.AWS.Functions = uniqueImage
|
||||
config.Config.AWS.Functions = []string{uniqueImage}
|
||||
_, err := m.CreateOrUpdate(tests.AnotherEnvironmentIDAsInteger, dto.ExecutionEnvironmentRequest{Image: uniqueImage})
|
||||
assert.NoError(t, err)
|
||||
})
|
||||
|
Reference in New Issue
Block a user