-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optionally inherit parent bidder info for alias adapter #3001
Conversation
onkarvhanumante
commented
Aug 3, 2023
- PR builds changes on top of inherit fields for an alias from parent adapter #3000 PR
- This PR makes changes to check if bidder info param is defined for alias. If not, then inherit information from the parent bidder
Check if bidder info param is defined for alias. If not, then inherit information from the parent bidder
config/bidderinfo_test.go
Outdated
assert.Equal(t, test.expectedBidderInfos, bidderInfos) | ||
} | ||
|
||
test.assertFunc(bidderInfos, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If each test has it's own assertion there isn't much value in using a table driven format. If there is no good way to generalize the assertions, please use a series of t.Run
calls in this method instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
89c5363 make changes to remove assertFunc
and use common assertion
# Conflicts: # config/bidderinfo.go # config/bidderinfo_test.go
# Conflicts: # config/bidderinfo.go # config/bidderinfo_test.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM