feature/#524-pipline #15
@ -14,7 +14,7 @@ jobs:
|
||||
image: postgres
|
||||
# Provide the password for postgres
|
||||
env:
|
||||
POSTGRES_HOST: postgres
|
||||
POSTGRES_DB: persistence
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
# Set health checks to wait until postgres has started
|
||||
|
@ -24,7 +24,8 @@ public class WebAppFactoryFixture : WebApplicationFactory<Program>
|
||||
config.AddJsonFile("appsettings.Tests.json");
|
||||
|
||||
var dbConnection = config.Build().GetSection("DbConnection").Get<DbConnection>()!;
|
||||
connectionString = dbConnection.GetConnectionString();
|
||||
//connectionString = dbConnection.GetConnectionString();
|
||||
connectionString = "postgres://postgres:postgres@localhost:5442/persistence";
|
||||
});
|
||||
|
||||
builder.ConfigureServices(services =>
|
||||
|
Loading…
Reference in New Issue
Block a user