Skip to content

Commit 68ca73b

Browse files
authored
Fix pam auth test regression (#33169)
fixes: #33168
1 parent 88366f2 commit 68ca73b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auth/pam/pam_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ func TestPamAuth(t *testing.T) {
1515
result, err := Auth("gitea", "user1", "false-pwd")
1616
assert.Error(t, err)
1717
assert.EqualError(t, err, "Authentication failure")
18-
assert.Len(t, result)
18+
assert.Empty(t, result)
1919
}

0 commit comments

Comments
 (0)