From 630b68ede96cdbf21b6ccc0cd4b221c934b1bf3b Mon Sep 17 00:00:00 2001 From: Fang Bai Date: Wed, 8 Nov 2017 14:22:20 -0800 Subject: [PATCH] remove side-effects in unit tests and update test ad domain --- modules/openxBidAdapter.md | 2 +- test/spec/modules/openxBidAdapter_spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/openxBidAdapter.md b/modules/openxBidAdapter.md index 99160f2e6da..1f04c2fe466 100644 --- a/modules/openxBidAdapter.md +++ b/modules/openxBidAdapter.md @@ -36,7 +36,7 @@ Module that connects to OpenX's demand sources bidder: 'openx', params: { unit: '539131525', - delDomain: 'se-demo-d.openx.net', + delDomain: 'zdo.com', video: { url: 'abc.com' } diff --git a/test/spec/modules/openxBidAdapter_spec.js b/test/spec/modules/openxBidAdapter_spec.js index 21b8e037673..b0f7d79fb18 100644 --- a/test/spec/modules/openxBidAdapter_spec.js +++ b/test/spec/modules/openxBidAdapter_spec.js @@ -278,7 +278,7 @@ describe.only('OpenxAdapter', () => { }); it('handles nobid responses', () => { - bidResponse = { + let bidResponse = { 'ads': { 'version': 1, @@ -352,7 +352,7 @@ describe.only('OpenxAdapter', () => { }); it('handles nobid responses', () => { - bidResponse = {'cache_key': '', 'pub_rev': '', 'per_colo_domain': '', 'ph': ''}; + let bidResponse = {'cache_key': '', 'pub_rev': '', 'per_colo_domain': '', 'ph': ''}; let result = spec.interpretResponse({body: bidResponse}, bidRequest); expect(result.length).to.equal(0); });