Skip to content

release: v1.0.1 - #12

Merged
cloudxdam merged 8 commits into
mainfrom
develop
Oct 8, 2026
Merged

cloudxdam merged 8 commits into
mainfrom
develop

Conversation

@cloudxdam

Copy link
Copy Markdown
Owner

Summary

  • Add 24 HTTP-level tests for auth, reservations and tables (MockMvc + real JWT)
  • Return 401 instead of 404/409 on failed login
  • Fix CI JWT secret to be valid Base64
  • Add MIT license

Add AuthControllerTest, ReservationControllerTest and RestaurantTableControllerTest: 13 new tests covering the HTTP layer with MockMvc and real JWTs (24 tests in total).
Return 401 with the same body for both unknown user and wrong password, instead of 404/409, so login no longer reveals which usernames exist.
Configure the security entry point so unauthenticated requests get 401 instead of Spring Security's default 403.
Update the README testing section.
Fix the CI JWT_SECRET so it is valid Base64, which JwtService decodes on every token generation.
@cloudxdam
cloudxdam merged commit 113e9b3 into main Oct 8, 2026
2 checks 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