правка
Some checks failed
Unit tests / test (push) Failing after 1m19s

This commit is contained in:
Оля Бизюкова 2024-12-17 18:05:02 +05:00
parent 4afed75a65
commit 26a81be456
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ jobs:
image: postgres
# Provide the password for postgres
env:
POSTGRES_HOST: postgres
POSTGRES_DB: persistence
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres

View File

@ -25,7 +25,7 @@ public class WebAppFactoryFixture : WebApplicationFactory<Program>
var dbConnection = config.Build().GetSection("DbConnection").Get<DbConnection>()!;
//connectionString = dbConnection.GetConnectionString();
connectionString = "Host=127.0.0.1;Port=5442;Username=postgres;Password=postgres;Database=persistence";
connectionString = "Host=postgres;Port=5442;Username=postgres;Password=postgres;Database=persistence";
});
builder.ConfigureServices(services =>