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

Add an API endpoint test #264

Open
Azoorb opened this issue Feb 5, 2024 · 0 comments
Open

Add an API endpoint test #264

Azoorb opened this issue Feb 5, 2024 · 0 comments
Assignees

Comments

@Azoorb
Copy link

Azoorb commented Feb 5, 2024

I find that there is a lack of a complete test example in the documentation, especially for testing an API endpoint.

Indeed, I am using multi-database tenancy with domain routing, and testing something like $this->get('/auth/login') is not straightforward because we cannot do $this->get('fakedomain.com/auth/login'), it result in a 404 response.

Perhaps adding an example in the documentation could make testing clearer.
Thank you for this great package!

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

2 participants