Skip to content

Commit

Permalink
update host-execution-plan for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko committed Nov 5, 2024
1 parent 14befe4 commit f80d9f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ModuleBaseSpec extends BaseSpec {

protected static Map<String, String> getResponseCorrectionConfig(Endpoint endpoint = OPENRTB2_AUCTION) {
["hooks.${PB_RESPONSE_CORRECTION.code}.enabled": true,
"hooks.host-execution-plan" : ExecutionPlan.getSingleEndpointExecutionPlan(endpoint, [(ALL_PROCESSED_BID_RESPONSES): [PB_RESPONSE_CORRECTION]])]
"hooks.host-execution-plan" : encode(ExecutionPlan.getSingleEndpointExecutionPlan(endpoint, [(ALL_PROCESSED_BID_RESPONSES): [PB_RESPONSE_CORRECTION]]))]
.collectEntries { key, value -> [(key.toString()): value.toString()] }
}

Expand All @@ -36,7 +36,7 @@ class ModuleBaseSpec extends BaseSpec {
["hooks.${PB_RICHMEDIA_FILTER.code}.enabled" : true,
"hooks.modules.${PB_RICHMEDIA_FILTER.code}.mraid-script-pattern": scriptPattern,
"hooks.modules.${PB_RICHMEDIA_FILTER.code}.filter-mraid" : filterMraidEnabled,
"hooks.host-execution-plan" : ExecutionPlan.getSingleEndpointExecutionPlan(endpoint, [(ALL_PROCESSED_BID_RESPONSES): [PB_RICHMEDIA_FILTER]])]
"hooks.host-execution-plan" : encode(ExecutionPlan.getSingleEndpointExecutionPlan(endpoint, [(ALL_PROCESSED_BID_RESPONSES): [PB_RICHMEDIA_FILTER]]))]
.collectEntries { key, value -> [(key.toString()): value.toString()] }
}

Expand Down

0 comments on commit f80d9f3

Please sign in to comment.