Skip to content

Commit 0140070

Browse files
author
Bart Koelman
committed
Fixed redacted data when running tests
1 parent 3fcb6f8 commit 0140070

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/TestBuildingBlocks/IntegrationTestContext.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ protected override HttpClient CreateClient()
6767
private WebApplicationFactory<TStartup> CreateFactory()
6868
{
6969
string postgresPassword = Environment.GetEnvironmentVariable("PGPASSWORD") ?? "postgres";
70-
string dbConnectionString = $"Host=localhost;Port=5432;Database=JsonApiTest-{Guid.NewGuid():N};User ID=postgres;Password={postgresPassword}";
70+
71+
string dbConnectionString = $"Host=localhost;Port=5432;Database=JsonApiTest-{Guid.NewGuid():N};User ID=postgres;" +
72+
$"Password={postgresPassword};Include Error Detail=true";
7173

7274
var factory = new IntegrationTestWebApplicationFactory();
7375

0 commit comments

Comments
 (0)