Skip to content
Snippets Groups Projects
Verified Commit 28b26430 authored by André Sterba's avatar André Sterba
Browse files

Remove dead code

parent 3c1a8ffc
No related branches found
No related tags found
3 merge requests!573Add validation tests for topology,!572Add validation tests for user entity,!567Add test for role api inputs
Pipeline #163965 passed
......@@ -25,11 +25,6 @@ func assertValidationErrors(t *testing.T, err error, expectedValidationErrors []
switch errorType := detail.(type) {
case *validate.Violations:
for _, violation := range errorType.Violations {
// if violation != expectedValidationError {
// // assert.Equal(t, expectedValidationError, violation)
// violations = append(violations, violation)
// }
ok := contains(expectedValidationErrors, violation)
if !ok {
t.Errorf("Received unexptected validation error: %v, expected %v", violation, expectedValidationErrors)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment