-
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
Add additional checks for only remove the transaction id from source obj if not present #2863
Add additional checks for only remove the transaction id from source obj if not present #2863
Conversation
… is false and supplyChainResolver can't resolve a schain for bidder
@@ -646,6 +694,9 @@ class GppTransmitTidActivitiesSpec extends PrivacyBaseSpec { | |||
!bidderRequest.imp[0].ext.tid | |||
!bidderRequest.source.tid | |||
} | |||
|
|||
and: "Don’t affect source.schain if it was present" | |||
bidderRequest.source.schain == sourceWithSchainAndTid.schain |
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.
Place assert
before comparison, and at other places
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.
done, thanks
…transaction-id-from-source-obj-if-not-present
…emove-the-transaction-id-from-source-obj-if-not-present' into functional-tests/S2S-1474-only-remove-the-transaction-id-from-source-obj-if-not-present
} | ||
|
||
def "PBS amp should remove bidRequest.(source/imp[0].ext).tid when ext.prebid.createTids=null and defaultAction=false"() { | ||
def "PBS amp should remove bidRequest.(source/imp[0].ext).tid but don't change schain in request when ext.prebid.createTids=#createTid and defaultAction=false"() { |
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.
#createTid
still static, meaning null
PBS amp should remove bidRequest.(source/imp[0].ext).tid and don't change schain in request when ext.prebid.createTids=#createTid and defaultAction=false and schain specified in request
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.
updated
where: | ||
createTid << [true, null] | ||
} | ||
|
||
def "PBS auction should remove bidRequest.(source/imp[0].ext).tid when ext.prebid.createTids=null and activity disallowed"() { | ||
given: "Bid requests with TID fields and account id" | ||
def "PBS auction should remove bidRequest.(source/imp[0].ext).tid but don't change schain in request when ext.prebid.createTids=null and activity disallowed"() { |
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.
PBS auction should remove bidRequest.(source/imp[0].ext).tid and don't change schain in request when ext.prebid.createTids=null and activity disallowed
Please check other places.
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.
updated
No description provided.