File tree Expand file tree Collapse file tree
src/test/groovy/org/prebid/server/functional/testcontainers/scaffolding Expand file tree Collapse file tree Original file line number Diff line number Diff line change 345345 <artifactId >influxdb</artifactId >
346346 <scope >test</scope >
347347 </dependency >
348- <!-- Source: https://mvnrepository.com/artifact/org.wiremock/wiremock -->
349- <dependency >
350- <groupId >org.wiremock</groupId >
351- <artifactId >wiremock</artifactId >
352- <version >3.13.1</version >
353- <scope >test</scope >
354- </dependency >
355348 <dependency >
356349 <groupId >org.influxdb</groupId >
357350 <artifactId >influxdb-java</artifactId >
Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ class Bidder extends NetworkScaffolding {
5454
5555 @Override
5656 protected RequestPatternBuilder getRequest (String bidRequestId ) {
57- postRequestedFor(urlMatching( " ^ $ endpoint ( \\ ?.*)? \$ " ))
57+ postRequestedFor(urlPathEqualTo( endpoint))
5858 .withRequestBody(matchingJsonPath(" \$ .id" , equalTo(bidRequestId)))
5959 }
6060
6161 RequestPattern getRequest (String bidRequestId , String requestMatchPath ) {
62- postRequestedFor(urlMatching( " ^ ${ endpoint} ( \\ ?.*)? \$ " ))
62+ postRequestedFor(urlPathEqualTo( endpoint))
6363 .withRequestBody(matchingJsonPath(" \$ [?(@.${ requestMatchPath} == '${ bidRequestId} ')]" ))
6464 .build()
6565 }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class FloorsProvider extends NetworkScaffolding {
2828
2929 @Override
3030 protected RequestPatternBuilder getRequest (String accountId ) {
31- getRequestedFor(urlEqualTo(FLOORS_ENDPOINT + accountId))
31+ getRequestedFor(urlEqualTo(" $ FLOORS_ENDPOINT $ accountId " ))
3232 }
3333
3434 @Override
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class HttpSettings extends NetworkScaffolding {
3030 @Override
3131 protected RequestPatternBuilder getRequest (String accountId ) {
3232 getRequestedFor(urlPathEqualTo(endpoint))
33- .withQueryParam(" account-ids" , equalTo(" [ \" " + accountId + " \" ] " ))
33+ .withQueryParam(" account-ids" , equalTo(""" [" $ accountId "] "" " ))
3434 }
3535
3636 @Override
You can’t perform that action at this time.
0 commit comments