Skip to content

Commit

Permalink
Fix pam auth test regression (#33169)
Browse files Browse the repository at this point in the history
fixes: #33168
  • Loading branch information
TheFox0x7 authored Jan 9, 2025
1 parent 88366f2 commit 68ca73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auth/pam/pam_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 68ca73b

Please sign in to comment.