@@ -19,7 +19,7 @@ import org.prebid.server.functional.service.PrebidServerService
1919import org.prebid.server.functional.tests.module.ModuleBaseSpec
2020import org.prebid.server.functional.util.PBSUtils
2121
22- import static org.prebid.server.functional.model.ModuleName.ORTB2_BLOCKING
22+ import static org.prebid.server.functional.model.ModuleName.PB_ORTB2_BLOCKING
2323import static org.prebid.server.functional.model.ModuleName.PB_RICHMEDIA_FILTER
2424import static org.prebid.server.functional.model.bidder.BidderName.GENERIC
2525import static org.prebid.server.functional.model.config.Endpoint.OPENRTB2_AUCTION
@@ -43,7 +43,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
4343 }
4444
4545 and : " Account in the DB"
46- def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
46+ def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
4747 def hooksConfiguration = new AccountHooksConfiguration (executionPlan : executionPlan)
4848 def accountConfig = new AccountConfig (hooks : hooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : true ))
4949 def account = new Account (uuid : bidRequest. accountId, config : accountConfig)
@@ -55,7 +55,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
5555 then : " Bid response should contain ext.prebid.analyticsTags with module record"
5656 def analyticsTagPrebid = bidResponse. ext. prebid. analytics. tags. first
5757 assert analyticsTagPrebid. stage == RAW_BIDDER_RESPONSE . value
58- assert analyticsTagPrebid. module == ORTB2_BLOCKING . code
58+ assert analyticsTagPrebid. module == PB_ORTB2_BLOCKING . code
5959
6060 and : " Analytics tag should contain results with name and success status"
6161 def analyticResult = analyticsTagPrebid. analyticsTags. activities. first
@@ -122,7 +122,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
122122
123123 def " PBS should include analytics tag in response when request and default account allow client details" () {
124124 given : " Default account with module config"
125- def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
125+ def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
126126 def hooksConfiguration = new AccountHooksConfiguration (executionPlan : executionPlan)
127127 def accountConfig = new AccountConfig (hooks : hooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : true ))
128128
@@ -141,7 +141,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
141141 then : " Bid response should contain ext.prebid.analyticsTags with module record"
142142 def analyticsTagPrebid = bidResponse. ext. prebid. analytics. tags. first
143143 assert analyticsTagPrebid. stage == RAW_BIDDER_RESPONSE . value
144- assert analyticsTagPrebid. module == ORTB2_BLOCKING . code
144+ assert analyticsTagPrebid. module == PB_ORTB2_BLOCKING . code
145145
146146 and : " Analytics tag should contain results with name and success status"
147147 def analyticResult = analyticsTagPrebid. analyticsTags. activities. first
@@ -161,7 +161,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
161161
162162 def " PBS should include analytics tag in response when request and account allow client details but default doesn't" () {
163163 given : " Default account with module config"
164- def defaultExecutionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
164+ def defaultExecutionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
165165 def defaultHooksConfiguration = new AccountHooksConfiguration (executionPlan : defaultExecutionPlan)
166166 def defaultAccountConfig = new AccountConfig (hooks : defaultHooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : false ))
167167
@@ -175,7 +175,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
175175 }
176176
177177 and : " Account in the DB"
178- def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
178+ def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
179179 def hooksConfiguration = new AccountHooksConfiguration (executionPlan : executionPlan)
180180 def accountConfig = new AccountConfig (hooks : hooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : true ))
181181 def account = new Account (uuid : bidRequest. accountId, config : accountConfig)
@@ -187,7 +187,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
187187 then : " Bid response should contain ext.prebid.analyticsTags with module record"
188188 def analyticsTagPrebid = bidResponse. ext. prebid. analytics. tags. first
189189 assert analyticsTagPrebid. stage == RAW_BIDDER_RESPONSE . value
190- assert analyticsTagPrebid. module == ORTB2_BLOCKING . code
190+ assert analyticsTagPrebid. module == PB_ORTB2_BLOCKING . code
191191
192192 and : " Analytics tag should contain results with name and success status"
193193 def analyticResult = analyticsTagPrebid. analyticsTags. activities. first
@@ -212,7 +212,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
212212 }
213213
214214 and : " Account in the DB"
215- def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
215+ def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
216216 def hooksConfiguration = new AccountHooksConfiguration (executionPlan : executionPlan)
217217 def accountConfig = new AccountConfig (hooks : hooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : true ))
218218 def account = new Account (uuid : bidRequest. accountId, config : accountConfig)
@@ -235,7 +235,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
235235 }
236236
237237 and : " Account in the DB"
238- def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
238+ def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
239239 def hooksConfiguration = new AccountHooksConfiguration (executionPlan : executionPlan)
240240 def accountConfig = new AccountConfig (hooks : hooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : true ))
241241 def account = new Account (uuid : bidRequest. accountId, config : accountConfig)
@@ -258,7 +258,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
258258 }
259259
260260 and : " Account in the DB"
261- def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
261+ def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
262262 def hooksConfiguration = new AccountHooksConfiguration (executionPlan : executionPlan)
263263 def accountConfig = new AccountConfig (hooks : hooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : false ))
264264 def account = new Account (uuid : bidRequest. accountId, config : accountConfig)
@@ -282,7 +282,7 @@ class AnalyticsTagsModuleSpec extends ModuleBaseSpec {
282282 }
283283
284284 and : " Account in the DB"
285- def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
285+ def executionPlan = ExecutionPlan . getSingleEndpointExecutionPlan(OPENRTB2_AUCTION , PB_ORTB2_BLOCKING , [RAW_BIDDER_RESPONSE ])
286286 def hooksConfiguration = new AccountHooksConfiguration (executionPlan : executionPlan)
287287 def accountConfig = new AccountConfig (hooks : hooksConfiguration, analytics : new AccountAnalyticsConfig (allowClientDetails : false ))
288288 def account = new Account (uuid : bidRequest. accountId, config : accountConfig)
0 commit comments