From d14a5be4bb0d1dbb0c77f134f57df378fa4a8554 Mon Sep 17 00:00:00 2001 From: osulzhenko Date: Thu, 6 Feb 2025 18:27:57 +0200 Subject: [PATCH] Tests: Remove default-account from base floors container config --- .../functional/tests/pricefloors/PriceFloorsBaseSpec.groovy | 3 +-- .../tests/pricefloors/PriceFloorsFetchingSpec.groovy | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsBaseSpec.groovy b/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsBaseSpec.groovy index 8b3f5d936bd..4ca4e3dfe6d 100644 --- a/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsBaseSpec.groovy +++ b/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsBaseSpec.groovy @@ -34,8 +34,7 @@ abstract class PriceFloorsBaseSpec extends BaseSpec { public static final BigDecimal FLOOR_MIN = 0.5 public static final BigDecimal FLOOR_MAX = 2 - public static final Map FLOORS_CONFIG = ["price-floors.enabled" : "true", - "settings.default-account-config": encode(defaultAccountConfigSettings)] + public static final Map FLOORS_CONFIG = ["price-floors.enabled": "true"] protected static final String BASIC_FETCH_URL = networkServiceContainer.rootUri + FloorsProvider.FLOORS_ENDPOINT protected static final int MAX_MODEL_WEIGHT = 100 diff --git a/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsFetchingSpec.groovy b/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsFetchingSpec.groovy index a897fbeff7c..a90499a1a4b 100644 --- a/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsFetchingSpec.groovy +++ b/src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsFetchingSpec.groovy @@ -48,7 +48,7 @@ class PriceFloorsFetchingSpec extends PriceFloorsBaseSpec { def "PBS should activate floors feature when price-floors.enabled = true in PBS config"() { given: "Pbs with PF configuration" - def pbsService = pbsServiceFactory.getService(FLOORS_CONFIG + ["price-floors.enabled": "true"]) + def pbsService = pbsServiceFactory.getService(FLOORS_CONFIG) and: "Default BidRequest" def bidRequest = BidRequest.getDefaultBidRequest(APP) @@ -73,7 +73,7 @@ class PriceFloorsFetchingSpec extends PriceFloorsBaseSpec { def "PBS should not activate floors feature when price-floors.enabled = false in #description config"() { given: "Pbs with PF configuration" - def pbsService = pbsServiceFactory.getService(FLOORS_CONFIG + ["price-floors.enabled": pbdConfigEnabled]) + def pbsService = pbsServiceFactory.getService(["price-floors.enabled": pbdConfigEnabled]) and: "Default BidRequest" def bidRequest = BidRequest.getDefaultBidRequest(APP)