Skip to content

Commit

Permalink
unit test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
deniseli committed May 14, 2024
1 parent 102f4c6 commit 93a1ff5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/modulecontext/from_secrets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ import (
func TestFromSecrets(t *testing.T) {
ctx := log.ContextWithNewDefaultLogger(context.Background())

t.Setenv(DSNSecretKey("echo", "echo"), "postgres://echo:echo@localhost:5432/echo")
secrets := map[string][]byte{
"FTL_DSN_ECHO_ECHO": []byte("postgres://echo:echo@localhost:5432/echo"),
"FTL_DSN_ECHO_ECHO": []byte("\"postgres://echo:echo@localhost:5432/echo\""),
}
databases, err := DatabasesFromSecrets(ctx, "echo", secrets)
assert.NoError(t, err)
Expand Down

0 comments on commit 93a1ff5

Please sign in to comment.