(t *testing.T)
| 356 | } |
| 357 | |
| 358 | func TestAuthHandler_basicPasswordCheck_unknownAlgorithm(t *testing.T) { |
| 359 | h := NewAuthHandler(nil, AuthConfig{Encrypt: "PLAINTEXT"}) |
| 360 | _, err := h.basicPasswordCheck("carol", "pw") |
| 361 | require.ErrorIs(t, err, ErrUnknownEncryptAlgorithm) |
| 362 | } |
| 363 | |
| 364 | func TestAuthHandler_basicPasswordCheck(t *testing.T) { |
| 365 | ctrl := gomock.NewController(t) |
nothing calls this directly
no test coverage detected