Skip to content

Commit 212877f

Browse files
committed
test: default connection string should have a key
1 parent d5c85a5 commit 212877f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CommunityToolkit.Aspire.SurrealDb.Tests/ConformanceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected override void PopulateConfiguration(ConfigurationManager configuration
3939
configuration.AddInMemoryCollection(
4040
[
4141
new KeyValuePair<string, string?>(CreateConfigKey("Aspire:Surreal:Client", key, "Endpoint"), GetConnectionStringKeyValue(connectionString,"Endpoint")),
42-
new KeyValuePair<string, string?>($"ConnectionStrings:{key}", $"{connectionString}")
42+
new KeyValuePair<string, string?>($"ConnectionStrings:{key ?? "surreal"}", $"{connectionString}")
4343
]);
4444
}
4545

0 commit comments

Comments
 (0)