Skip to content

Commit

Permalink
Fix pam auth test regression (go-gitea#33169)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFox0x7 authored and GiteaBot committed Jan 9, 2025
1 parent 12c24c2 commit 7125cad
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 7125cad

Please sign in to comment.