add integration test to find by id user controller with not found

This commit is contained in:
rayankonecny 2025-12-13 14:23:38 +00:00
parent b32dc77734
commit 5d04c8dea6

View file

@ -48,8 +48,6 @@ public class UserControllerImpTest {
.andExpect(jsonPath("$.path").value("/api/users/123")) .andExpect(jsonPath("$.path").value("/api/users/123"))
.andExpect(jsonPath("$.status").value(HttpStatus.NOT_FOUND.value())) .andExpect(jsonPath("$.status").value(HttpStatus.NOT_FOUND.value()))
.andExpect(jsonPath("$.timestamp").isNotEmpty()); .andExpect(jsonPath("$.timestamp").isNotEmpty());
// testando
} }
} }