From 9f9c13325ce38e51b2495d327bac2d67b474f34f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Sok=C3=B3=C5=82?= Date: Wed, 16 Oct 2024 12:32:10 +0200 Subject: [PATCH] add u.t. for not supported media type --- test/spec/modules/smartadserverBidAdapter_spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/spec/modules/smartadserverBidAdapter_spec.js b/test/spec/modules/smartadserverBidAdapter_spec.js index 5800a967c8c..0a62d5207db 100644 --- a/test/spec/modules/smartadserverBidAdapter_spec.js +++ b/test/spec/modules/smartadserverBidAdapter_spec.js @@ -1494,6 +1494,10 @@ describe('Smart bid adapter tests', function () { }; expect(spec.getBidFloor(bid, 'DKK', VIDEO)).to.deep.eq(2.1); }); + + it('should return DEFAULT_FLOOR for not supported media type', () => { + expect(spec.getBidFloor(bid, 'USD', 'test')).to.deep.eq(0); + }); }); });