diff options
author | Jonas Franz <info@jonasfranz.software> | 2017-06-25 20:20:29 +0200 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-06-25 20:20:29 +0200 |
commit | 441986a473a666e0a6a34ec49c50b5aa19245cf8 (patch) | |
tree | 67d45e4b2268a896649ef093cdd0b01ffed5aa1e /models/action_test.go | |
parent | 735676267e48e6a57b250825e2e77edbb513e11d (diff) | |
download | gitea-441986a473a666e0a6a34ec49c50b5aa19245cf8.tar.gz gitea-441986a473a666e0a6a34ec49c50b5aa19245cf8.zip |
Fix "Dashboard shows deleted comments" (#1995)
Diffstat (limited to 'models/action_test.go')
-rw-r--r-- | models/action_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/models/action_test.go b/models/action_test.go index debc884b37..96ee9a5f73 100644 --- a/models/action_test.go +++ b/models/action_test.go @@ -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) |