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 Backwards Incompatible Config Additions #57

Merged
merged 4 commits into from
May 19, 2021

Conversation

phily245
Copy link
Contributor

A backwards incompatible change was spotted which defaulted the /ping & /health routes for existing uses of the package using existing config to both listen on /.

This adds a fallback so if the config doesn't exist it defaults to /ping & /health.

Alongside this, I've added a test for the /ping customization and tweaked the /health customisation test as this still had the default /health route due to how orchestra bootstraps Laravel.

phily245 added 4 commits May 19, 2021 14:40
This was untested following a change
This was a copy/paste error
As the application mounts with the default config before the tests run,
the default routes were already set
A backwards incompatible change was made, meaning if the config value
wasn't set the ping and health routes would default to /
@phily245
Copy link
Contributor Author

The fix for #56

Copy link
Contributor

@tylerwoonton tylerwoonton left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@tylerwoonton tylerwoonton merged commit f5f18b5 into ans-group:master May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants