diff --git a/modules/sublimeBidAdapter.js b/modules/sublimeBidAdapter.js index 4656eb8d982..1f8cb59f442 100644 --- a/modules/sublimeBidAdapter.js +++ b/modules/sublimeBidAdapter.js @@ -1,7 +1,6 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { config } from '../src/config.js'; import * as utils from '../src/utils.js'; -import * as url from '../src/url.js'; const BIDDER_CODE = 'sublime'; const BIDDER_GVLID = 114; @@ -55,7 +54,7 @@ export function sendEvent(eventName) { log('Sending pixel for event: ' + eventName, eventObject); - const queryString = url.formatQS(eventObject); + const queryString = utils.formatQS(eventObject); utils.triggerPixel('https://' + SUBLIME_ANTENNA + '/?' + queryString); } diff --git a/test/spec/modules/colossussspBidAdapter_spec.js b/test/spec/modules/colossussspBidAdapter_spec.js index bb541d1041d..df9bdcbd47b 100644 --- a/test/spec/modules/colossussspBidAdapter_spec.js +++ b/test/spec/modules/colossussspBidAdapter_spec.js @@ -119,7 +119,8 @@ describe('ColossussspAdapter', function () { expect(placement).to.have.property('eids') expect(placement.eids).to.be.an('array') expect(placement.eids.length).to.be.equal(4) - for (let v of placement.eids) { + for (let index in placement.eids) { + let v = placement.eids[index]; expect(v).to.have.all.keys('source', 'uids') expect(v.source).to.be.oneOf(['britepool.com', 'identityLink', 'adserver.org', 'id5-sync.com']) expect(v.uids).to.be.an('array');