mirror of https://github.com/go-gitea/gitea.git
Fix pam auth test regression (#33169)
fixes: https://github.com/go-gitea/gitea/issues/33168pull/33176/head
parent
88366f280e
commit
68ca73b716
|
@ -15,5 +15,5 @@ func TestPamAuth(t *testing.T) {
|
|||
result, err := Auth("gitea", "user1", "false-pwd")
|
||||
assert.Error(t, err)
|
||||
assert.EqualError(t, err, "Authentication failure")
|
||||
assert.Len(t, result)
|
||||
assert.Empty(t, result)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue