Skip to content

test(controller): updates ItemControllerTest to require JSON and passes#3

Merged
merxgrc merged 1 commit intomainfrom
feature/item-controller
Sep 6, 2025
Merged

test(controller): updates ItemControllerTest to require JSON and passes#3
merxgrc merged 1 commit intomainfrom
feature/item-controller

Conversation

@merxgrc
Copy link
Owner

@merxgrc merxgrc commented Sep 6, 2025

Updated test (ItemControllerTest) to expect a JSON response rather than plain text.

Modified ItemController to return a List so Spring Boot automatically serializes it to JSON.

Verified the endpoint returns 200 OK with Content-Type: application/json.

@merxgrc merxgrc merged commit ac2dacb into main Sep 6, 2025
1 check passed
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.

1 participant