mirror of
https://github.com/go-gitea/gitea
synced 2025-01-10 17:54:27 +00:00
Backport #33169 by TheFox0x7 fixes: https://github.com/go-gitea/gitea/issues/33168 Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
This commit is contained in:
parent
12c24c2189
commit
d65af69c2b
@ -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…
x
Reference in New Issue
Block a user