mirror of https://github.com/go-gitea/gitea.git
Backport #33169 by TheFox0x7 fixes: https://github.com/go-gitea/gitea/issues/33168 Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>pull/33181/head
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…
Reference in New Issue