Skip to content

Commit

Permalink
use first bid for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettBlox committed May 23, 2024
1 parent a1e0508 commit c3614c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spec/modules/concertBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,12 @@ describe('ConcertAdapter', function () {

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

it('should exclude dealId when absent in bidResponse', function() {
const bids = spec.interpretResponse(bidResponse, bidRequest);
expect(bids).to.not.have.property('dealId');
expect(bids[0]).to.not.have.property('dealId');
});

it('should return empty bids if there is no response from server', function() {
Expand Down

0 comments on commit c3614c6

Please sign in to comment.