Skip to content

Commit

Permalink
Tests: Remove default-account from base floors container config
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko committed Feb 6, 2025
1 parent bddec5e commit d14a5be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String> FLOORS_CONFIG = ["price-floors.enabled" : "true",
"settings.default-account-config": encode(defaultAccountConfigSettings)]
public static final Map<String, String> 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit d14a5be

Please sign in to comment.