File tree Expand file tree Collapse file tree
pkg/optimizely/optimizelytest
tests/acceptance/test_acceptance Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -523,12 +523,14 @@ func (c *TestProjectConfig) GetFlagVariationsMap() map[string][]entities.Variati
523523 return c .flagVariationsMap
524524}
525525
526- // GetHoldoutList returns an array of all holdouts
526+ // GetHoldoutList returns an array of all holdouts in the project
527527func (c * TestProjectConfig ) GetHoldoutList () []entities.Holdout {
528528 return []entities.Holdout {}
529529}
530530
531- // GetHoldoutsForFlag returns all holdouts applicable to the given feature flag
531+ // GetHoldoutsForFlag returns all holdouts applicable to the given feature flag.
532+ // In production, this would return a filtered list based on the flag's includedFlags/excludedFlags.
533+ // For this test mock, we return an empty list since no tests currently require holdout logic.
532534func (c * TestProjectConfig ) GetHoldoutsForFlag (featureKey string ) []entities.Holdout {
533535 return []entities.Holdout {}
534536}
Original file line number Diff line number Diff line change 55
66from tests .acceptance .helpers import ENDPOINT_CONFIG
77from tests .acceptance .helpers import create_and_validate_request_and_response
8- from tests .acceptance .holdouts_datafile import holdouts_datafile
98
109expected_config = """{
1110 "environmentKey": "production",
You can’t perform that action at this time.
0 commit comments