From bd10e69184e55ed9101552a45fae53fa28c959f1 Mon Sep 17 00:00:00 2001 From: Aleksandar Trifunovich Date: Sat, 11 Jul 2026 02:56:09 +0200 Subject: [PATCH] test: silence Testcontainers 4.13 obsolete PostgreSqlBuilder() ctor 4.13 deprecated the parameterless builder; pass the image to the constructor instead of via .WithImage(). No behavior change, 28/28 integ tests pass. --- backend/Api.IntegrationTests/PostgresFixture.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/Api.IntegrationTests/PostgresFixture.cs b/backend/Api.IntegrationTests/PostgresFixture.cs index b40b1eb..cc525cc 100644 --- a/backend/Api.IntegrationTests/PostgresFixture.cs +++ b/backend/Api.IntegrationTests/PostgresFixture.cs @@ -16,8 +16,7 @@ public class PostgresFixture : IAsyncLifetime public PostgresFixture() { - _container = new PostgreSqlBuilder() - .WithImage("postgres:15-alpine") + _container = new PostgreSqlBuilder("postgres:15-alpine") .WithDatabase("fuel_test") .WithUsername("fuel") .WithPassword("postgres")