Skip to content

Commit b0b828b

Browse files
autofix-ci[bot]mcalhoun
authored andcommitted
allow user to specify default value when using store
1 parent 240d14b commit b0b828b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: internal/exec/yaml_func_store_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"github.com/cloudposse/atmos/pkg/schema"
1010
"github.com/cloudposse/atmos/pkg/store"
1111
"github.com/stretchr/testify/assert"
12+
"github.com/stretchr/testify/require"
1213
)
1314

1415
func TestProcessTagStore(t *testing.T) {
@@ -36,8 +37,8 @@ func TestProcessTagStore(t *testing.T) {
3637
}
3738

3839
// Populate the store with some data
39-
require.NoError(t, redisStore.Set("dev", "vpc", "cidr", "10.0.0.0/16"))
40-
require.NoError(t, redisStore.Set("prod", "vpc", "cidr", "172.16.0.0/16"))
40+
require.NoError(t, redisStore.Set("dev", "vpc", "cidr", "10.0.0.0/16"))
41+
require.NoError(t, redisStore.Set("prod", "vpc", "cidr", "172.16.0.0/16"))
4142

4243
tests := []struct {
4344
name string

0 commit comments

Comments
 (0)