Fix pam auth test regression (#33169)

fixes: https://github.com/go-gitea/gitea/issues/33168
pull/33176/head
TheFox0x7 3 weeks ago committed by GitHub
parent 88366f280e
commit 68ca73b716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save