Skip to content

Commit

Permalink
adds dealid at the correct level
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettBlox committed May 23, 2024
1 parent c3614c6 commit e53bee2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/spec/modules/concertBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,13 @@ describe('ConcertAdapter', function () {
});

it('should include dealId when present in bidResponse', function() {
const bids = spec.interpretResponse({ ...bidResponse, dealid: 'CON-123' }, bidRequest);
const bids = spec.interpretResponse({
body: {
bids: [
{ ...bidResponse.body.bids[0], dealid: 'CON-123' }
]
}
}, bidRequest);
expect(bids[0]).to.have.property('dealId');
});

Expand Down

0 comments on commit e53bee2

Please sign in to comment.