mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 17:17:19 +00:00
Fix "Dashboard shows deleted comments" (#1995)
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
735676267e
commit
441986a473
@ -310,6 +310,7 @@ func TestGetFeeds(t *testing.T) {
|
||||
RequestingUserID: user.ID,
|
||||
IncludePrivate: true,
|
||||
OnlyPerformedBy: false,
|
||||
IncludeDeleted: true,
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.Len(t, actions, 1)
|
||||
@ -337,6 +338,7 @@ func TestGetFeeds2(t *testing.T) {
|
||||
RequestingUserID: userID,
|
||||
IncludePrivate: true,
|
||||
OnlyPerformedBy: false,
|
||||
IncludeDeleted: true,
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.Len(t, actions, 1)
|
||||
@ -348,6 +350,7 @@ func TestGetFeeds2(t *testing.T) {
|
||||
RequestingUserID: userID,
|
||||
IncludePrivate: false,
|
||||
OnlyPerformedBy: false,
|
||||
IncludeDeleted: true,
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.Len(t, actions, 0)
|
||||
|
Reference in New Issue
Block a user