Skip to content

Commit 56b4c1e

Browse files
committed
Update functional tests
1 parent cc71627 commit 56b4c1e

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

src/test/groovy/org/prebid/server/functional/testcontainers/scaffolding/Bidder.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Bidder extends NetworkScaffolding {
3434
request().withPath(endpoint)
3535
}
3636

37-
static HttpRequest getRequest(String bidRequestId, String requestMatchPath) {
37+
HttpRequest getRequest(String bidRequestId, String requestMatchPath) {
3838
request().withPath(endpoint)
3939
.withBody(jsonPath("\$[?(@.$requestMatchPath == '$bidRequestId')]"))
4040
}

src/test/groovy/org/prebid/server/functional/tests/CacheSpec.groovy

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ class CacheSpec extends BaseSpec {
127127
given: "Pbs config with disabled api-key-secured and pbc.api.key"
128128
def apiKey = PBSUtils.randomString
129129
def pbsConfig = ['pbc.api.key': apiKey, 'cache.api-key-secured': 'false']
130-
def pbsConfig = ['pbc.api.key' : apiKey,
131-
'cache.api-key-secured': 'false']
132130
def pbsService = pbsServiceFactory.getService(pbsConfig)
133131

134132
and: "Default BidRequest with cache, targeting"

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ class PriceFloorsCurrencySpec extends PriceFloorsBaseSpec {
3636
pbsServiceFactory.removeContainer(FLOORS_CONFIG + PbsConfig.currencyConverterConfig)
3737
}
3838

39-
def cleanupSpec() {
40-
pbsServiceFactory.removeContainer(FLOORS_CONFIG + CURRENCY_CONVERTER_CONFIG)
41-
}
42-
4339
def "PBS should update bidFloor, bidFloorCur for signalling when request.cur is specified"() {
4440
given: "Default BidRequest with cur"
4541
def bidRequest = bidRequestWithFloors.tap {

0 commit comments

Comments
 (0)