Skip to content

Commit

Permalink
revert tests added by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
asloobq committed Oct 8, 2024
1 parent 9078e80 commit 0e2ece4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/test/java/com/uid2/client/BidstreamClientTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,21 +206,6 @@ private static Stream<Arguments> data_IdentityScopeAndType_TestCases() {
);
}

@ParameterizedTest
@ValueSource(strings = {"V2", "V3", "V4"})
public void userOptedOutTest(TokenVersionForTesting tokenVersion) throws Exception {
refresh(keyBidstreamResponse(IdentityScope.UID2, MASTER_KEY, SITE_KEY));
int privacyBits = PrivacyBitsBuilder.Builder().WithOptedOut(true).Build();

String advertisingToken = AdvertisingTokenBuilder.builder().withVersion(tokenVersion).withPrivacyBits(privacyBits).build();

validateAdvertisingToken(advertisingToken, IdentityScope.UID2, IdentityType.Email, tokenVersion);
DecryptionResponse res = bidstreamClient.decryptTokenIntoRawUid(advertisingToken, null);
assertFalse(res.isSuccess());
assertEquals(DecryptionStatus.SUCCESS, res.getStatus());
assertNull(res.getUid());
}

// These are the domain or app names associated with site SITE_ID, as defined by keyBidstreamResponse()
@ParameterizedTest
@CsvSource({
Expand Down

0 comments on commit 0e2ece4

Please sign in to comment.