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

Confirm that trying a route which does not exist results in a not found error that matches OC #67

Open
oliverheywood451 opened this issue Mar 11, 2022 · 0 comments

Comments

@oliverheywood451
Copy link
Collaborator

oliverheywood451 commented Mar 11, 2022

This issue is about what happens if you try to hit a middleware route which does not exist. What should happen in that scenario is the the status should be 404 and there should be an error body with the message "Not Found" which matches OrderCloud's not found error.

I'm not sure if that's working correctly now or not. Either way, there needs to be an integration test for this scenario.

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

No branches or pull requests

1 participant