Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko committed Feb 12, 2024
1 parent 46571fd commit 7adf2af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ class AuctionSpec extends BaseSpec {
bidderName << [GENERIC, GENERIC_CAMEL_CASE]
}


def "PBS should set device.ext.cdep from header when cookieDeprecation and Deprecation header is specified"() {
given: "Default basic BidRequest with generic bidder"
def bidRequest = BidRequest.defaultBidRequest
Expand Down Expand Up @@ -544,5 +543,4 @@ class AuctionSpec extends BaseSpec {
def bidderRequest = bidder.getBidderRequest(bidRequest.id)
assert !bidderRequest?.device?.ext?.cdep
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2226,7 +2226,8 @@ class CookieSyncSpec extends BaseSpec {


when: "PBS processes cookie sync request"
def response = prebidServerService.sendCookieSyncRequestRaw(cookieSyncRequest, uidsCookie, ['receive-cookie-deprecation': '1'])
def setCookieDefaultHeader = ['receive-cookie-deprecation': '1']
def response = prebidServerService.sendCookieSyncRequestRaw(cookieSyncRequest, uidsCookie, setCookieDefaultHeader)

then: "Response shouldn't contain cookie header"
assert !response.headers[SET_COOKIE_HEADER]
Expand Down

0 comments on commit 7adf2af

Please sign in to comment.