(t *testing.T, err error, status int, field string, detail string)
| 443 | } |
| 444 | |
| 445 | func requireSecretValidationEqualsError(t *testing.T, err error, status int, field string, detail string) { |
| 446 | t.Helper() |
| 447 | validation := requireSecretValidation(t, err, status, field) |
| 448 | assert.Equal(t, detail, validation.Detail) |
| 449 | } |
| 450 | |
| 451 | func requireSecretValidation(t *testing.T, err error, status int, field string) codersdk.ValidationError { |
| 452 | t.Helper() |
no test coverage detected