@@ -881,7 +881,6 @@ class BidderParamsSpec extends BaseSpec {
881881 prebid. bidder. generic = null
882882 prebid. adUnitCode = PBSUtils . randomString
883883 generic = new Generic ()
884- auctionEnvironment = PBSUtils . getRandomEnum(AuctionEnvironment , [AuctionEnvironment . SERVER_ORCHESTRATED , AuctionEnvironment . UNKNOWN ])
885884 all = PBSUtils . randomNumber
886885 context = new ImpExtContext (data : new ImpExtContextData ())
887886 data = new ImpExtContextData (pbAdSlot : PBSUtils . randomString)
@@ -1291,26 +1290,6 @@ class BidderParamsSpec extends BaseSpec {
12911290 requestedAuctionEnvironment << [SERVER_ORCHESTRATED , UNKNOWN ]
12921291 }
12931292
1294- def " PBS shouldn't change auction environment in imp.ext.igs when it is present in both imp.ext and imp.ext.igs" () {
1295- given : " Default bid request with populated imp.ext"
1296- def extAuctionEnv = PBSUtils . getRandomEnum(AuctionEnvironment , [SERVER_ORCHESTRATED , UNKNOWN ])
1297- def extIgsAuctionEnv = PBSUtils . getRandomEnum(AuctionEnvironment , [SERVER_ORCHESTRATED , UNKNOWN ])
1298- def bidRequest = BidRequest . defaultBidRequest. tap {
1299- imp[0 ]. ext. tap {
1300- auctionEnvironment = extAuctionEnv
1301- interestGroupAuctionSupports = new InterestGroupAuctionSupport (auctionEnvironment : extIgsAuctionEnv)
1302- }
1303- }
1304-
1305- when : " PBS processes auction request"
1306- defaultPbsService. sendAuctionRequest(bidRequest)
1307-
1308- then : " Bidder request should imp[].{ae/ext.igs.ae} same value as requested"
1309- def bidderRequest = bidder. getBidderRequest(bidRequest. id)
1310- assert bidderRequest. imp[0 ]. ext. auctionEnvironment == extAuctionEnv
1311- assert bidderRequest. imp[0 ]. ext. interestGroupAuctionSupports. auctionEnvironment == extIgsAuctionEnv
1312- }
1313-
13141293 def " PBS should reject alias bidders when bidder params from request doesn't satisfy own json-schema" () {
13151294 given : " Default bid request"
13161295 def bidRequest = BidRequest . defaultBidRequest. tap {
0 commit comments