Skip to content
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

Exchange unit test fix #2868

Merged
merged 1 commit into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading