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

This commit is contained in:
Оля Бизюкова 2024-12-17 17:53:30 +05:00
parent 0591bfd923
commit e991992ab3
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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 =>