Needless to say; must not authenticate with nil user reference;
(t *testing.T)
| 319 | |
| 320 | // Needless to say; must not authenticate with nil user reference; |
| 321 | func TestUserAuthenticateWithNilUserReference(t *testing.T) { |
| 322 | var nouser *userImpl |
| 323 | assert.False(t, nouser.Authenticate("password")) |
| 324 | } |
| 325 | |
| 326 | // Must not authenticate if the user account is disabled. |
| 327 | func TestUserAuthenticateWithDisabledUserAccount(t *testing.T) { |
nothing calls this directly
no test coverage detected