diff --git a/.env.example b/.env.example index f6331757..9b4aa7de 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -BASE_URL=https://localhost:5555/ +BASE_URL=http://localhost:5555/ ENV=local PORT=5555 diff --git a/pkg/internal/common/crypt_test.go b/pkg/internal/common/crypt_test.go index f2c341f4..68319027 100644 --- a/pkg/internal/common/crypt_test.go +++ b/pkg/internal/common/crypt_test.go @@ -5,6 +5,9 @@ import ( "time" libcommon "github.com/String-xyz/go-lib/v2/common" + env "github.com/String-xyz/go-lib/v2/config" + + "github.com/String-xyz/string-api/config" "github.com/stretchr/testify/assert" ) @@ -77,7 +80,7 @@ func TestEncryptDecryptUnencoded(t *testing.T) { } func TestEncryptDecryptKMS(t *testing.T) { - + env.LoadEnv(&config.Var, "../../../.env") obj := "herein lie the secrets of the universe" objEncrypted, err := EncryptStringToKMS(obj) assert.NoError(t, err)