Skip to content

Commit

Permalink
Fixed fluent bug in UidsCookieServiceTest (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
And1sS authored Sep 16, 2021
1 parent 5f03080 commit b7143b4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.time.temporal.ChronoUnit;
import java.util.Base64;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

import static java.util.Collections.emptyMap;
Expand Down Expand Up @@ -273,12 +274,12 @@ public void shouldSkipFacebookSentinelFromUidsCookie() throws JsonProcessingExce
@Test
public void toCookieShouldEnforceMaxCookieSizeAndRemoveAUidWithCloserExpirationDate() throws IOException {
// given
final UidsCookie uidsCookie = new UidsCookie(Uids.builder().uids(new HashMap<>()).build(), jacksonMapper)
final UidsCookie uidsCookie = new UidsCookie(Uids.builder().uids(new LinkedHashMap<>()).build(), jacksonMapper)
.updateUid("improvedigital", "improvedigitalUid")
.updateUid(RUBICON, "rubiconUid")
.updateUid("conversant", "conversantUid")
.updateUid(ADNXS, "adnxsUid")
.updateUid("sharethrough", "sharethroughUid")
.updateUid("improvedigital", "improvedigitalUid")
.updateUid("somoaudience", "somoaudienceUid")
.updateUid("verizonmedia", "verizonmediaUid");

Expand Down

0 comments on commit b7143b4

Please sign in to comment.