Skip to content

Commit

Permalink
Add support domain field
Browse files Browse the repository at this point in the history
  • Loading branch information
marki1an committed Jan 16, 2024
1 parent d2fbbdd commit a6a9a7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private static BidRequest makeBidRequest(BidRequest preBidRequest, ExtImpLunamed

final Site site = preBidRequest.getSite();
if (site != null) {
bidRequestBuilder.site(site.toBuilder().publisher(null).domain("").build());
bidRequestBuilder.site(site.toBuilder().publisher(null).build());
}

final App app = preBidRequest.getApp();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public void makeHttpRequestShouldModifySite() {
assertThat(result.getValue()).hasSize(1)
.extracting(HttpRequest::getPayload)
.extracting(BidRequest::getSite)
.containsExactly(Site.builder().publisher(null).domain("").build());
.containsExactly(Site.builder().publisher(null).domain("some domain").build());
}

@Test
Expand Down

0 comments on commit a6a9a7b

Please sign in to comment.