From a6a9a7b16ae202d4902f6bce931b9dfde17c3159 Mon Sep 17 00:00:00 2001 From: markiian Date: Tue, 16 Jan 2024 19:40:57 +0200 Subject: [PATCH] Add support `domain` field --- .../org/prebid/server/bidder/lunamedia/LunamediaBidder.java | 2 +- .../org/prebid/server/bidder/lunamedia/LunamediaBidderTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/prebid/server/bidder/lunamedia/LunamediaBidder.java b/src/main/java/org/prebid/server/bidder/lunamedia/LunamediaBidder.java index 7f9b9dfaa2e..728ac621f39 100644 --- a/src/main/java/org/prebid/server/bidder/lunamedia/LunamediaBidder.java +++ b/src/main/java/org/prebid/server/bidder/lunamedia/LunamediaBidder.java @@ -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(); diff --git a/src/test/java/org/prebid/server/bidder/lunamedia/LunamediaBidderTest.java b/src/test/java/org/prebid/server/bidder/lunamedia/LunamediaBidderTest.java index d335d56269c..06d69379514 100644 --- a/src/test/java/org/prebid/server/bidder/lunamedia/LunamediaBidderTest.java +++ b/src/test/java/org/prebid/server/bidder/lunamedia/LunamediaBidderTest.java @@ -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