-
Notifications
You must be signed in to change notification settings - Fork 175
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
Tests: Functional tests for OpenRTB battr strict logic #3523
base: bugfix/update-openrtb-blocking-battr-logic
Are you sure you want to change the base?
Tests: Functional tests for OpenRTB battr strict logic #3523
Conversation
…into functional-tests/strict-media-type
BidRequest.defaultBidRequest | AUDIO_BATTR | ||
} | ||
|
||
def "PBS shouldn't be able to send original battr ortb2 attribute when default preferred media type specified at request level"() { |
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.
when the preferred media type doesn't match with attribute type
@@ -131,6 +134,134 @@ class Ortb2BlockingSpec extends ModuleBaseSpec { | |||
PBSUtils.randomNumber | BTYPE | |||
} | |||
|
|||
def "PBS shouldn't be able to send original battr ortb2 attribute when original bidder doesn't contain such type impression"() { |
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.
when bid request imps type doesn't match with attribute type
BANNER | AUDIO_BATTR | ||
} | ||
|
||
def "PBS shouldn't be able to send original battr ortb2 attribute when default preferred media type specified at account level"() { |
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.
when account level preferred media type doesn't match with attribute type
… module
🔧 Type of changes
✨ What's the context?
What's the context for the changes? Are there any
🧠 Rationale behind the change
Why did you choose to make these changes? Were there any trade-offs you had to consider?
🧪 Test plan
How do you know the changes are safe to ship to production?
🏎 Quality check