Skip to content

Commit c586bfe

Browse files
committed
Tappx Adapter: Add GPID support
1 parent c532735 commit c586bfe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/test/java/org/prebid/server/bidder/tappx/TappxBidderTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public void makeHttpRequestsShouldMakeRequestWithUrl() {
141141

142142
// then
143143
assertThat(result.getErrors()).isEmpty();
144-
final String expectedUri = "https://ssp.api.domain/rtb/v2/endpoint?tappxkey=tappxkey&v=1.4&type_cnn=prebid";
144+
final String expectedUri = "https://ssp.api.domain/rtb/v2/endpoint?tappxkey=tappxkey&v=1.6&type_cnn=prebid";
145145
assertThat(result.getValue()).hasSize(1)
146146
.allSatisfy(httpRequest -> {
147147
assertThat(httpRequest.getUri()).isEqualTo(expectedUri);
@@ -165,7 +165,7 @@ public void makeHttpRequestShouldBuildCorrectUriWithPathInHostParameterButWithou
165165

166166
// then
167167
assertThat(result.getErrors()).isEmpty();
168-
final String expectedUri = "https://ssp.api.domain/rtb/v2/endpoint?tappxkey=tappxkey&v=1.4&type_cnn=prebid";
168+
final String expectedUri = "https://ssp.api.domain/rtb/v2/endpoint?tappxkey=tappxkey&v=1.6&type_cnn=prebid";
169169
assertThat(result.getValue()).hasSize(1)
170170
.allSatisfy(httpRequest -> {
171171
assertThat(httpRequest.getUri()).isEqualTo(expectedUri);
@@ -190,7 +190,7 @@ public void makeHttpRequestShouldBuildCorrectUriWithEndPointParameterIfMatched()
190190
// then
191191
assertThat(result.getErrors()).isEmpty();
192192
final String expectedUri =
193-
"https://zz855226test.pub.domain/rtb/?tappxkey=tappxkey&v=1.4&type_cnn=prebid";
193+
"https://zz855226test.pub.domain/rtb/?tappxkey=tappxkey&v=1.6&type_cnn=prebid";
194194
assertThat(result.getValue()).hasSize(1)
195195
.allSatisfy(httpRequest -> {
196196
assertThat(httpRequest.getUri()).isEqualTo(expectedUri);
@@ -214,7 +214,7 @@ public void makeHttpRequestsShouldModifyUrl() {
214214

215215
// then
216216
assertThat(result.getErrors()).isEmpty();
217-
final String expectedUri = "https://ssp.api.domain/rtb/v2/endpoint?tappxkey=tappxkey&v=1.4&type_cnn=prebid";
217+
final String expectedUri = "https://ssp.api.domain/rtb/v2/endpoint?tappxkey=tappxkey&v=1.6&type_cnn=prebid";
218218
assertThat(result.getValue()).hasSize(1)
219219
.allSatisfy(httpRequest -> {
220220
assertThat(httpRequest.getUri()).isEqualTo(expectedUri);

0 commit comments

Comments
 (0)