Skip to content

Commit

Permalink
test(aduptech): added test for invalid bidfloor currency
Browse files Browse the repository at this point in the history
  • Loading branch information
danygielow committed Jan 22, 2025
1 parent 55f2048 commit 8315a50
Showing 1 changed file with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"mockBidRequest": {
"id": "test-request-id",
"site": {
"page": "https://good.site/url"
},
"imp": [{
"id": "test-imp-id",
"bidfloor": 1.0,
"bidfloorcur": "INVALID",
"banner": {
"format": [{
"w": 300,
"h": 250
}]
},
"ext": {
"bidder": {
"publisher": "123456",
"placement": "234567"
}
}
}],
"ext": {
"prebid": {
"currency": {
"rates": {
"EUR": {
"USD": 0.05
}
},
"usepbsrates": false
}
}
}
},
"httpCalls": [],
"expectedBidResponses": [],
"expectedMakeRequestsErrors": [
{
"value": "currency: tag is not well-formed",
"comparison": "literal"
}
]
}

0 comments on commit 8315a50

Please sign in to comment.