mirror of
https://github.com/go-gitea/gitea.git
synced 2025-01-31 09:41:28 +02:00
Fix pam auth test regression (#33169)
fixes: https://github.com/go-gitea/gitea/issues/33168
This commit is contained in:
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
Block a user