Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: TCF Purpose 4 enforcement #5228

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
add empty test shells
  • Loading branch information
Fawke committed May 13, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 3afcdac07b31a4b1ad0ea20e6baaa009e6217e21
5 changes: 5 additions & 0 deletions test/spec/modules/gdprEnforcement_spec.js
Original file line number Diff line number Diff line change
@@ -456,6 +456,7 @@ describe('gdpr enforcement', function () {
config.resetConfig();
sandbox.restore();
});

it('should block bidder which does not have consent and allow bidder which has consent', function () {
setEnforcementConfig({
gdpr: {
@@ -536,5 +537,9 @@ describe('gdpr enforcement', function () {
expect(logWarnSpy.notCalled).to.equal(true);
expect(logInfoSpy.calledOnce).to.equal(true);
});

it('should remove userIds from a bid if Purpose 4 check fails', function() {});

it('should run Purpose2 and/or Purpose4 checks based on their presence in GDPR rules', function() {});
});
});