Skip to content

Commit

Permalink
test: default connection string should have a key
Browse files Browse the repository at this point in the history
  • Loading branch information
Odonno committed Feb 1, 2025
1 parent b9c2859 commit fd8bb58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected override void PopulateConfiguration(ConfigurationManager configuration
configuration.AddInMemoryCollection(
[
new KeyValuePair<string, string?>(CreateConfigKey("Aspire:Surreal:Client", key, "Endpoint"), GetConnectionStringKeyValue(connectionString,"Endpoint")),
new KeyValuePair<string, string?>($"ConnectionStrings:{key}", $"{connectionString}")
new KeyValuePair<string, string?>($"ConnectionStrings:{key ?? "surreal"}", $"{connectionString}")
]);
}

Expand Down

0 comments on commit fd8bb58

Please sign in to comment.