Skip to content
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

fix invalid venmo domain tests #199

Merged
merged 1 commit into from
May 6, 2024
Merged

fix invalid venmo domain tests #199

merged 1 commit into from
May 6, 2024

Conversation

ravishekhar
Copy link
Contributor

The test case written to validate invalid Venmo domains are currently asserting for invalid domain by not passing protocol (http/https) in the input values.
This results in www.venmo.com being validated as invalid Venmo domain, and https://www.venmo.com being valid domain.

A crucial part of invalid domain validation must be to also validate the eTLD+1 of the Venmo domain.

This PR fixes by adding the protocol to the input values.

@ravishekhar ravishekhar requested a review from a team as a code owner May 3, 2024 20:52
Copy link
Member

@jshawl jshawl left a comment

Choose a reason for hiding this comment

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

🚀

@ravishekhar ravishekhar merged commit bfcfdd4 into main May 6, 2024
2 checks passed
@ravishekhar ravishekhar deleted the venmo-domain-tests branch May 6, 2024 15:51
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.

5 participants