Skip to content

Commit c39bdef

Browse files
author
ilya
committed
DATA-36551: Build fixed
1 parent 618a526 commit c39bdef

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

extra/modules/live-intent-omni-channel-identity/src/test/java/org/prebid/server/hooks/modules/liveintent/omni/channel/identity/v1/LiveIntentOmniChannelIdentityProcessedAuctionRequestHookTest.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ public void setUp() {
7878
given(properties.getAuthToken()).willReturn("auth_token");
7979
given(properties.getTreatmentRate()).willReturn(1.0f);
8080

81-
given(auctionInvocationContext.auctionContext()).willReturn(auctionContext);
82-
given(auctionContext.getActivityInfrastructure()).willReturn(activityInfrastructure);
83-
given(activityInfrastructure.isAllowed(any(), any())).willReturn(true);
84-
8581
target = new LiveIntentOmniChannelIdentityProcessedAuctionRequestHook(
8682
properties, userFpdActivityMask, MAPPER, httpClient, 0.01d);
8783
}
@@ -172,6 +168,10 @@ public void tidPassingRestrictionShouldBeRespected() {
172168
given(httpClient.post(any(), any(), any(), anyLong()))
173169
.willReturn(Future.succeededFuture(HttpClientResponse.of(200, null, responseBody)));
174170

171+
given(auctionInvocationContext.auctionContext()).willReturn(auctionContext);
172+
given(auctionContext.getActivityInfrastructure()).willReturn(activityInfrastructure);
173+
given(activityInfrastructure.isAllowed(any(), any())).willReturn(true);
174+
175175
given(activityInfrastructure.isAllowed(eq(Activity.TRANSMIT_TID), any())).willReturn(false);
176176
given(activityInfrastructure.isAllowed(eq(Activity.TRANSMIT_UFPD), any())).willReturn(false);
177177

@@ -205,6 +205,9 @@ public void eidPassingRestrictionShouldBeRespected() {
205205
given(httpClient.post(any(), any(), any(), anyLong()))
206206
.willReturn(Future.succeededFuture(HttpClientResponse.of(200, null, responseBody)));
207207

208+
given(auctionInvocationContext.auctionContext()).willReturn(auctionContext);
209+
given(auctionContext.getActivityInfrastructure()).willReturn(activityInfrastructure);
210+
given(activityInfrastructure.isAllowed(any(), any())).willReturn(true);
208211
given(activityInfrastructure.isAllowed(eq(Activity.TRANSMIT_EIDS), any())).willReturn(false);
209212
given(activityInfrastructure.isAllowed(eq(Activity.TRANSMIT_UFPD), any())).willReturn(false);
210213

0 commit comments

Comments
 (0)