Skip to content

Commit

Permalink
fix: DSNs were not being passed to ModuleContext (#1421)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e authored May 7, 2024
1 parent 053f922 commit 4f17758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-runtime/ftl/ftltest/ftltest.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func Context(options ...Option) context.Context {
}
}

builder := modulecontext.NewBuilder(name).AddConfigs(state.configs).AddSecrets(state.secrets).AddDatabases(map[string]modulecontext.Database{})
builder := modulecontext.NewBuilder(name).AddConfigs(state.configs).AddSecrets(state.secrets).AddDatabases(state.databases)
builder = builder.UpdateForTesting(state.mockVerbs, state.allowDirectVerbBehavior)
return builder.Build().ApplyToContext(ctx)
}
Expand Down

0 comments on commit 4f17758

Please sign in to comment.