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 redirect history test #836

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

niclas-timm
Copy link
Contributor

When testing the redirect history on http://www.spatie.be, the test expected 3 redirects:

  1. http://www.spatie.be -> http://www.spatie.be/ (trailing "/")
  2. http://www.spatie.be/ -> https://www.spatie.be/ (https)
  3. https://www.spatie.be/ -> https://spatie.be/ (remove "www")

However, the first two now happen in one redirect, i.e.:

  1. http://www.spatie.be -> https://www.spatie.be/ (https + trailing "/")
  2. https://www.spatie.be/ -> https://spatie.be/ (remove "www")

Therefore, I altered the test to expect only two redirects instead of three.

I assume that the test failed due to a change on the spatie.be domain.

@freekmurze freekmurze merged commit fc3e9d0 into spatie:main Apr 2, 2024
1 of 5 checks passed
@freekmurze
Copy link
Member

Thanks!

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