Skip to content

Commit

Permalink
Merged in pcman@fix_unit_test (pull request prebid#28)
Browse files Browse the repository at this point in the history
Fix broken unit test for appier analytic adapter.

Approved-by: Yuan-Hung Huang <yuanhung.huang@appier.com>
  • Loading branch information
PCMan-Appier committed Apr 12, 2019
2 parents 95bd176 + 8796dcf commit eed3071
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/spec/modules/appierAnalyticsAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,17 @@ describe('Appier Prebid AnalyticsAdapter', function () {
}
},
'adunit_2': {
// this bid result exists in both bid and noBid arrays and should be treated as bid
'appier': {
prebidWon: false,
isTimeout: false,
status: BIDDER_STATUS.NO_BID,
time: 120,
cpm: 0.09,
currency: 'USD',
originalCpm: 0.09,
originalCurrency: 'USD',
cpmUsd: 0.09,
status: BIDDER_STATUS.BID,
},
'reippa': {
prebidWon: false,
Expand Down

0 comments on commit eed3071

Please sign in to comment.