Skip to content

Commit

Permalink
TrustX Bid Adapter: Fix alias error (prebid#6373)
Browse files Browse the repository at this point in the history
  • Loading branch information
PWyrembak authored and seergiioo6 committed Mar 23, 2021
1 parent 4f4b49e commit c746982
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion modules/trustxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ function _addBidResponse(serverBid, bidsMap, priceType, bidResponses, RendererCo
const bid = slot.bids.shift();
const bidResponse = {
requestId: bid.bidId, // bid.bidderRequestId,
bidderCode: spec.code,
cpm: serverBid.price,
width: serverBid.w,
height: serverBid.h,
Expand Down
14 changes: 0 additions & 14 deletions test/spec/modules/trustxBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 1</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand Down Expand Up @@ -320,7 +319,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 1</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand All @@ -334,7 +332,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 600,
'ad': '<div>test content 2</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand All @@ -348,7 +345,6 @@ describe('TrustXAdapter', function () {
'width': 728,
'height': 90,
'ad': '<div>test content 3</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand Down Expand Up @@ -476,7 +472,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 1</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand All @@ -490,7 +485,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 600,
'ad': '<div>test content 2</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand All @@ -504,7 +498,6 @@ describe('TrustXAdapter', function () {
'width': 728,
'height': 90,
'ad': '<div>test content 3</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand All @@ -518,7 +511,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 600,
'ad': '<div>test content 4</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand Down Expand Up @@ -580,7 +572,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 1</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand All @@ -594,7 +585,6 @@ describe('TrustXAdapter', function () {
'width': 300,
'height': 250,
'ad': '<div>test content 2</div>',
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'banner',
'netRevenue': true,
Expand Down Expand Up @@ -655,7 +645,6 @@ describe('TrustXAdapter', function () {
'dealId': undefined,
'width': 300,
'height': 600,
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': true,
Expand Down Expand Up @@ -735,7 +724,6 @@ describe('TrustXAdapter', function () {
'dealId': undefined,
'width': 300,
'height': 600,
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': true,
Expand All @@ -753,7 +741,6 @@ describe('TrustXAdapter', function () {
'dealId': undefined,
'width': 300,
'height': 250,
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': true,
Expand All @@ -771,7 +758,6 @@ describe('TrustXAdapter', function () {
'dealId': undefined,
'width': 300,
'height': 250,
'bidderCode': 'trustx',
'currency': 'USD',
'mediaType': 'video',
'netRevenue': true,
Expand Down

0 comments on commit c746982

Please sign in to comment.