mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 08:08:37 +02: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:
1 parent
12c24c2189
commit
d65af69c2b
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user