Skip to content

Invibes: Generic domainId parameter #1512

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

Merged
merged 22 commits into from
Oct 1, 2020
Merged

Conversation

invibes
Copy link
Contributor

@invibes invibes commented Sep 28, 2020

More flexible way to use domainId parameter

@SyntaxNode SyntaxNode changed the title Generic domainId parameter Invibes: Generic domainId parameter Sep 28, 2020
Copy link
Contributor

@mansinahar mansinahar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I am wondering if the default URL when no domainID was provided was bid.videostep.com even before the how were the tests passing with expected URL to be adweb.videostepstage.com like in the basic-ad.json and no-ad.json files

@invibes
Copy link
Contributor Author

invibes commented Sep 30, 2020

LGTM but I am wondering if the default URL when no domainID was provided was bid.videostep.com even before the how were the tests passing with expected URL to be adweb.videostepstage.com like in the basic-ad.json and no-ad.json files

Before the latest commit, the host url template provided in invibes_test.go didn't contain {.Host} macro, so the url generation wasn't covered by tests. In the latest commit I have included the macro in the template in order to improve the code coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants