Skip to content

Commit

Permalink
fix: quick fix in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
P0RTW0N committed Jun 9, 2024
1 parent a8f4f51 commit dd4eaa0
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,24 +100,4 @@ public void testSecurityVulnerabilitiesForPacoteID(Long pacoteId) {
assertFalse(violations.isEmpty());
}

@ParameterizedTest
@CsvSource(textBlock =
"""
0
-6
-1
-3
-7
-8
-9
-996
-1325
""")
@DisplayName("Test security vulnerabilities for User ID")
public void testSecurityVulnerabilitiesForUserId(String userId) {
EncomendaDTOSaveRequest response = new EncomendaDTOSaveRequest(2, 2, 2, LocalDateTime.now(),1L, Estado.REGISTADO, userId);
Set<ConstraintViolation<EncomendaDTOSaveRequest>> violations = validator.validate(response);
assertFalse(violations.isEmpty());
}

}

0 comments on commit dd4eaa0

Please sign in to comment.