Test Postgres database definition

This commit is contained in:
Boris Milašinović
2026-04-29 16:36:13 +02:00
parent b849c6feb6
commit 8f7c704a90
13 changed files with 2340 additions and 10 deletions

View File

@@ -47,10 +47,10 @@ public class ProviderSpecificQueryShould
.AddUserSecrets<ProviderSpecificQueryShould>(optional: true)
.Build();
var productionConnectionString = configuration.GetConnectionString("EventDB-Test");
var productionConnectionString = configuration.GetConnectionString("EventsPostgres");
Assert.False(
string.IsNullOrWhiteSpace(productionConnectionString),
"The EventDB-Test connection string must be available so the PostgreSQL-backed provider test can connect to the PostgreSQL copy.");
"The EventsPostgres connection string must be available so the PostgreSQL-backed provider test can connect to the PostgreSQL copy.");
var connectionStringBuilder = new NpgsqlConnectionStringBuilder(productionConnectionString)
{