@@ -119,7 +119,7 @@ describe('OguryBidAdapter', function () {
119
119
} ;
120
120
} ) ;
121
121
122
- it ( 'should return sync array with two elements of type image' , ( ) => {
122
+ it ( 'should return syncs array with two elements of type image' , ( ) => {
123
123
const userSyncs = spec . getUserSyncs ( syncOptions , [ ] , gdprConsent ) ;
124
124
125
125
expect ( userSyncs ) . to . have . lengthOf ( 2 ) ;
@@ -129,7 +129,7 @@ describe('OguryBidAdapter', function () {
129
129
expect ( userSyncs [ 1 ] . url ) . to . contain ( 'https://ms-cookie-sync.presage.io/ttd/init-sync' ) ;
130
130
} ) ;
131
131
132
- it ( 'should set the same source as query param' , ( ) => {
132
+ it ( 'should set the source as query param' , ( ) => {
133
133
const userSyncs = spec . getUserSyncs ( syncOptions , [ ] , gdprConsent ) ;
134
134
expect ( userSyncs [ 0 ] . url ) . to . contain ( 'source=prebid' ) ;
135
135
expect ( userSyncs [ 1 ] . url ) . to . contain ( 'source=prebid' ) ;
@@ -146,7 +146,7 @@ describe('OguryBidAdapter', function () {
146
146
expect ( spec . getUserSyncs ( syncOptions , [ ] , gdprConsent ) ) . to . have . lengthOf ( 0 ) ;
147
147
} ) ;
148
148
149
- it ( 'should return sync array with two elements of type image when consentString is undefined' , ( ) => {
149
+ it ( 'should return syncs array with two elements of type image when consentString is undefined' , ( ) => {
150
150
gdprConsent = {
151
151
gdprApplies : true ,
152
152
consentString : undefined
@@ -160,7 +160,7 @@ describe('OguryBidAdapter', function () {
160
160
expect ( userSyncs [ 1 ] . url ) . to . equal ( 'https://ms-cookie-sync.presage.io/ttd/init-sync?iab_string=&source=prebid' )
161
161
} ) ;
162
162
163
- it ( 'should return sync array with two elements of type image when consentString is null' , ( ) => {
163
+ it ( 'should return syncs array with two elements of type image when consentString is null' , ( ) => {
164
164
gdprConsent = {
165
165
gdprApplies : true ,
166
166
consentString : null
@@ -174,7 +174,7 @@ describe('OguryBidAdapter', function () {
174
174
expect ( userSyncs [ 1 ] . url ) . to . equal ( 'https://ms-cookie-sync.presage.io/ttd/init-sync?iab_string=&source=prebid' )
175
175
} ) ;
176
176
177
- it ( 'should return sync array with two elements of type image when gdprConsent is undefined' , ( ) => {
177
+ it ( 'should return syncs array with two elements of type image when gdprConsent is undefined' , ( ) => {
178
178
gdprConsent = undefined ;
179
179
180
180
const userSyncs = spec . getUserSyncs ( syncOptions , [ ] , gdprConsent ) ;
@@ -185,7 +185,7 @@ describe('OguryBidAdapter', function () {
185
185
expect ( userSyncs [ 1 ] . url ) . to . equal ( 'https://ms-cookie-sync.presage.io/ttd/init-sync?iab_string=&source=prebid' )
186
186
} ) ;
187
187
188
- it ( 'should return sync array with two elements of type image when gdprConsent is null' , ( ) => {
188
+ it ( 'should return syncs array with two elements of type image when gdprConsent is null' , ( ) => {
189
189
gdprConsent = null ;
190
190
191
191
const userSyncs = spec . getUserSyncs ( syncOptions , [ ] , gdprConsent ) ;
@@ -196,7 +196,7 @@ describe('OguryBidAdapter', function () {
196
196
expect ( userSyncs [ 1 ] . url ) . to . equal ( 'https://ms-cookie-sync.presage.io/ttd/init-sync?iab_string=&source=prebid' )
197
197
} ) ;
198
198
199
- it ( 'should return sync array with two elements of type image when gdprConsent is null and gdprApplies is false' , ( ) => {
199
+ it ( 'should return syncs array with two elements of type image when gdprConsent is null and gdprApplies is false' , ( ) => {
200
200
gdprConsent = {
201
201
gdprApplies : false ,
202
202
consentString : null
@@ -210,7 +210,7 @@ describe('OguryBidAdapter', function () {
210
210
expect ( userSyncs [ 1 ] . url ) . to . equal ( 'https://ms-cookie-sync.presage.io/ttd/init-sync?iab_string=&source=prebid' )
211
211
} ) ;
212
212
213
- it ( 'should return sync array with two elements of type image when gdprConsent is empty string and gdprApplies is false' , ( ) => {
213
+ it ( 'should return syncs array with two elements of type image when gdprConsent is empty string and gdprApplies is false' , ( ) => {
214
214
gdprConsent = {
215
215
gdprApplies : false ,
216
216
consentString : ''
@@ -240,7 +240,8 @@ describe('OguryBidAdapter', function () {
240
240
w : 300 ,
241
241
h : 250
242
242
} ]
243
- }
243
+ } ,
244
+ ext : bidRequests [ 0 ] . params
244
245
} , {
245
246
id : bidRequests [ 1 ] . bidId ,
246
247
tagid : bidRequests [ 1 ] . params . adUnitId ,
@@ -250,7 +251,8 @@ describe('OguryBidAdapter', function () {
250
251
w : 600 ,
251
252
h : 500
252
253
} ]
253
- }
254
+ } ,
255
+ ext : bidRequests [ 1 ] . params
254
256
} ] ,
255
257
regs : {
256
258
ext : {
@@ -549,7 +551,7 @@ describe('OguryBidAdapter', function () {
549
551
xhr . restore ( )
550
552
} )
551
553
552
- it ( 'should send notification on bid timeout' , function ( ) {
554
+ it ( 'should send on bid timeout notification ' , function ( ) {
553
555
const bid = {
554
556
ad : '<img style="width: 300px; height: 250px;" src="https://assets.afcdn.com/recipe/20190529/93153_w1024h768c1cx2220cy1728cxt0cyt0cxb4441cyb3456.jpg" alt="cookies" />' ,
555
557
cpm : 3
0 commit comments