From 26a81be4562b0d46a55f08f88ea81017dacf3711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D1=8F=20=D0=91=D0=B8=D0=B7=D1=8E=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0?= Date: Tue, 17 Dec 2024 18:05:02 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test.yaml | 1 + DD.Persistence.IntegrationTests/WebAppFactoryFixture.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 =>