diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index c4415dd..9acccb6 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -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 diff --git a/DD.Persistence.IntegrationTests/WebAppFactoryFixture.cs b/DD.Persistence.IntegrationTests/WebAppFactoryFixture.cs index 940c6db..65edb95 100644 --- a/DD.Persistence.IntegrationTests/WebAppFactoryFixture.cs +++ b/DD.Persistence.IntegrationTests/WebAppFactoryFixture.cs @@ -25,7 +25,7 @@ public class WebAppFactoryFixture : WebApplicationFactory var dbConnection = config.Build().GetSection("DbConnection").Get()!; //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 =>