Skip to content

Commit

Permalink
Exchange unit test fix (prebid#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
VeronikaSolovei9 authored and Peiling-Ding committed Jul 14, 2023
1 parent 72a0c28 commit 2dcd4ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions exchange/exchange_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@ func getTestBuildRequest(t *testing.T) *openrtb2.BidRequest {
H: 600,
}},
},
Ext: json.RawMessage(`{"ext_field":"value}"}`),
Ext: json.RawMessage(`{"prebid":{"bidder":{"appnexus": {"placementId": 1}}}}`),
}, {
Video: &openrtb2.Video{
MIMEs: []string{"video/mp4"},
Expand All @@ -2094,7 +2094,7 @@ func getTestBuildRequest(t *testing.T) *openrtb2.BidRequest {
W: 300,
H: 600,
},
Ext: json.RawMessage(`{"ext_field":"value}"}`),
Ext: json.RawMessage(`{"prebid":{"bidder":{"appnexus": {"placementId": 1}}}}`),
}},
}
}
Expand Down
2 changes: 1 addition & 1 deletion exchange/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ func TestCleanOpenRTBRequestsWithFPD(t *testing.T) {
App: &openrtb2.App{Name: "fpdApnApp"},
User: &openrtb2.User{Keywords: "fpdApnUser"},
}
fpd[openrtb_ext.BidderName("appnexus")] = &apnFpd
fpd[openrtb_ext.BidderName("rubicon")] = &apnFpd

brightrollFpd := firstpartydata.ResolvedFirstPartyData{
Site: &openrtb2.Site{Name: "fpdBrightrollSite"},
Expand Down

0 comments on commit 2dcd4ed

Please sign in to comment.