Skip to content

Commit d14a5be

Browse files
committed
Tests: Remove default-account from base floors container config
1 parent bddec5e commit d14a5be

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsBaseSpec.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ abstract class PriceFloorsBaseSpec extends BaseSpec {
3434

3535
public static final BigDecimal FLOOR_MIN = 0.5
3636
public static final BigDecimal FLOOR_MAX = 2
37-
public static final Map<String, String> FLOORS_CONFIG = ["price-floors.enabled" : "true",
38-
"settings.default-account-config": encode(defaultAccountConfigSettings)]
37+
public static final Map<String, String> FLOORS_CONFIG = ["price-floors.enabled": "true"]
3938

4039
protected static final String BASIC_FETCH_URL = networkServiceContainer.rootUri + FloorsProvider.FLOORS_ENDPOINT
4140
protected static final int MAX_MODEL_WEIGHT = 100

src/test/groovy/org/prebid/server/functional/tests/pricefloors/PriceFloorsFetchingSpec.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class PriceFloorsFetchingSpec extends PriceFloorsBaseSpec {
4848

4949
def "PBS should activate floors feature when price-floors.enabled = true in PBS config"() {
5050
given: "Pbs with PF configuration"
51-
def pbsService = pbsServiceFactory.getService(FLOORS_CONFIG + ["price-floors.enabled": "true"])
51+
def pbsService = pbsServiceFactory.getService(FLOORS_CONFIG)
5252

5353
and: "Default BidRequest"
5454
def bidRequest = BidRequest.getDefaultBidRequest(APP)
@@ -73,7 +73,7 @@ class PriceFloorsFetchingSpec extends PriceFloorsBaseSpec {
7373

7474
def "PBS should not activate floors feature when price-floors.enabled = false in #description config"() {
7575
given: "Pbs with PF configuration"
76-
def pbsService = pbsServiceFactory.getService(FLOORS_CONFIG + ["price-floors.enabled": pbdConfigEnabled])
76+
def pbsService = pbsServiceFactory.getService(["price-floors.enabled": pbdConfigEnabled])
7777

7878
and: "Default BidRequest"
7979
def bidRequest = BidRequest.getDefaultBidRequest(APP)

0 commit comments

Comments
 (0)