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 MockRequest's match() function #29

Merged

Conversation

vanilla-dbarbier
Copy link
Contributor

This small followup PR is related to all of these:

Basically our match() function is parsing(parse_url()) the request's url but we are subsequently wrongly assuming that the returning array value contains a path value. This fix is adding a simple check before doing the verification.

@vanilla-dbarbier vanilla-dbarbier self-assigned this Jun 16, 2022
@charrondev charrondev merged commit f46b073 into master Jun 17, 2022
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.

2 participants