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(requests): update request handling and non-json request testing #74

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

Lapotor
Copy link
Collaborator

@Lapotor Lapotor commented Dec 13, 2023

Modify JsonOnlyMiddleware to use $request->getContent() for request handling. Update the corresponding test by replacing the usage of $this->post() with $this->call() to ensure consistency in testing non-json request failures.

Signed-off-by: Valentin Sickert <[email protected]>
@whyauthentic whyauthentic merged commit 0fc0bc8 into main Dec 13, 2023
15 checks passed
@whyauthentic whyauthentic deleted the fix/JsonOnlyWithTests branch December 13, 2023 18:38
whyauthentic pushed a commit that referenced this pull request Dec 13, 2023
Introduce the `UserController` to handle the following user-related
functionalities:

- Retrieve all users
- Display details of a specific user
- Create a new user
- Update existing user information
- Delete a user

---
**Needs**:
- #74

**Closes**:
- Close #10
- Close #11 
- Close #12
- Close #13
- Close #14

---------

Signed-off-by: Valentin Sickert <[email protected]>
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