Skip to content

Commit

Permalink
allow user to specify default value when using store
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored and mcalhoun committed Feb 4, 2025
1 parent d35bf8b commit dceeb04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/exec/yaml_func_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/cloudposse/atmos/pkg/schema"
"github.com/cloudposse/atmos/pkg/store"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func TestProcessTagStore(t *testing.T) {
Expand Down Expand Up @@ -36,8 +37,8 @@ func TestProcessTagStore(t *testing.T) {
}

// Populate the store with some data
require.NoError(t, redisStore.Set("dev", "vpc", "cidr", "10.0.0.0/16"))
require.NoError(t, redisStore.Set("prod", "vpc", "cidr", "172.16.0.0/16"))
require.NoError(t, redisStore.Set("dev", "vpc", "cidr", "10.0.0.0/16"))
require.NoError(t, redisStore.Set("prod", "vpc", "cidr", "172.16.0.0/16"))

tests := []struct {
name string
Expand Down

0 comments on commit dceeb04

Please sign in to comment.