Skip to content

Commit a0ff2fb

Browse files
committed
Address the commments
1 parent 78e143f commit a0ff2fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/com/uid2/client/BidstreamClientTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class BidstreamClientTests {
3535
})
3636
public void smokeTestForBidstream(IdentityScope identityScope, TokenVersionForTesting tokenVersion) throws Exception {
3737
Instant now = Instant.now();
38-
String advertisingToken = AdvertisingTokenBuilder.builder().withScope(identityScope).withVersion(tokenVersion).withEstablished(now.minus(120, ChronoUnit.DAYS)).withGenerated(now.plus(-1, ChronoUnit.DAYS)).withExpiry(now.plus(2, ChronoUnit.DAYS)).build();
38+
String advertisingToken = AdvertisingTokenBuilder.builder().withScope(identityScope).withVersion(tokenVersion).withEstablished(now.minus(120, ChronoUnit.DAYS)).withGenerated(now.minus(1, ChronoUnit.DAYS)).withExpiry(now.plus(2, ChronoUnit.DAYS)).build();
3939
refresh(keyBidstreamResponse(identityScope, MASTER_KEY, SITE_KEY));
4040

4141
decryptAndAssertSuccess(advertisingToken, tokenVersion);

src/test/java/com/uid2/client/test/IntegrationExamples.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void ExampleBidStreamClient() {
2929
System.out.println("SiteId: " + result.getSiteId());
3030
System.out.println("UID: " + result.getUid());
3131
System.out.println("Established: " + result.getEstablished());
32-
System.out.println("SiteId: " + result.getSiteId());
32+
System.out.println("AdvertisingTokenVersion: " + result.getAdvertisingTokenVersion());
3333
System.out.println("IsClientSideGenerated: " + result.getIsClientSideGenerated());
3434
}
3535

0 commit comments

Comments
 (0)