-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
questionFurther information is requestedFurther information is requested
Description
The function TestValidateTMPFail tests that the validation fails, but because the problem is correctly delivered to the user, the result code of the request is 200 OK. The same applies to the test function TestValidateBadgeFail.
gin-valid/internal/web/validate_test.go
Line 170 in 5683eb9
| func TestValidateTMPFail(t *testing.T) { |
gin-valid/internal/web/validate_test.go
Line 77 in 5683eb9
| func TestValidateBadgeFail(t *testing.T) { //TODO |
Are the results codes obtained from the tested functions correct in this case?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested