-
Notifications
You must be signed in to change notification settings - Fork 187
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
Test: Buyeruid scrubbed metric #3692
Test: Buyeruid scrubbed metric #3692
Conversation
def tcfConsent = new TcfConsent.Builder().build() | ||
def bidRequest = bidRequestWithPersonalData.tap { | ||
regs.gdpr = 1 | ||
user.ext.consent = tcfConsent | ||
ext.prebid.trace = VERBOSE | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def bidRequest = bidRequestWithPersonalData.tap {
regs.gdpr = 1
user.ext.consent = new TcfConsent.Builder().build()
ext.prebid.trace = VERBOSE
}
assert metrics["adapter.${GENERIC.value}.requests.buyeruid_scrubbed"] == 1 | ||
assert metrics["account.${account.uuid}.adapter.${GENERIC.value}.requests.buyeruid_scrubbed"] == 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls add case with basic verbosityLevel
@@ -38,6 +39,7 @@ import spock.lang.Shared | |||
|
|||
import static org.prebid.server.functional.model.bidder.BidderName.GENERIC | |||
import static org.prebid.server.functional.model.bidder.BidderName.OPENX | |||
import static org.prebid.server.functional.model.config.AccountMetricsVerbosityLevel.DETAILED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dead imports
🔧 Type of changes
✨ What's the context?
What's the context for the changes?
🧠 Rationale behind the change
Why did you choose to make these changes? Were there any trade-offs you had to consider?
🔎 New Bid Adapter Checklist
🧪 Test plan
How do you know the changes are safe to ship to production?
🏎 Quality check