From d3c1c40e6f273f23f1197dbd31d8b2f610c97152 Mon Sep 17 00:00:00 2001 From: "Dominik.Kotecki" Date: Wed, 19 Jun 2024 16:21:37 +0200 Subject: [PATCH] fix testcontainers --- .../Modules/Catalog.Tests/Testcontainers/OpenSearchBuilder.cs | 2 +- .../Catalog.Tests/Testcontainers/OpenSearchContainer.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchBuilder.cs b/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchBuilder.cs index ee0d989..16bd718 100644 --- a/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchBuilder.cs +++ b/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchBuilder.cs @@ -56,7 +56,7 @@ private OpenSearchBuilder(OpenSearchConfiguration resourceConfiguration) public override OpenSearchContainer Build() { Validate(); - return new OpenSearchContainer(DockerResourceConfiguration, TestcontainersSettings.Logger); + return new OpenSearchContainer(DockerResourceConfiguration); } /// diff --git a/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchContainer.cs b/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchContainer.cs index 9f83b4b..3d828fc 100644 --- a/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchContainer.cs +++ b/tests/Modules/Catalog.Tests/Testcontainers/OpenSearchContainer.cs @@ -13,8 +13,8 @@ public sealed class OpenSearchContainer : DockerContainer /// /// The container configuration. /// The logger. - public OpenSearchContainer(OpenSearchConfiguration configuration, ILogger logger) - : base(configuration, logger) + public OpenSearchContainer(OpenSearchConfiguration configuration) + : base(configuration) { _configuration = configuration; }