L'API dont vous êtes le héros is an interactive Java API that brings the adventure of "choose your own adventure" stories to life. Users can embark on unique journeys, make decisions at each step, and create dynamic narratives, all while experiencing the nostalgia of classic adventure books.
Check that the generated token is valid and contains the expected username. ==> This is not a unit test because this feature is managed by another class
Quest:
Develop unit tests for the
AuthenticationService
class to ensure that user authentication works correctly and that JWTs are generated as expected.Tasks:
Test
authenticateUser
Method:The keeper of the repo 🏰