diff options
author | guillep2k <18600385+guillep2k@users.noreply.github.com> | 2020-01-24 10:06:40 -0300 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2020-01-24 13:06:40 +0000 |
commit | ad94a94114bc68ec1ba269a2bce9286155760bc2 (patch) | |
tree | bc54428bbcabc55e988d2da6401d95c14a252728 /integrations/repo_activity_test.go | |
parent | f6067a8465e7762aea1561106cfee291409a0fd6 (diff) | |
download | gitea-ad94a94114bc68ec1ba269a2bce9286155760bc2.tar.gz gitea-ad94a94114bc68ec1ba269a2bce9286155760bc2.zip |
Fix activity count in TestRepoActivity (#9959)
* Fix activity count
* Fix comment
Diffstat (limited to 'integrations/repo_activity_test.go')
-rw-r--r-- | integrations/repo_activity_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/repo_activity_test.go b/integrations/repo_activity_test.go index e21f27893d..56b70c9595 100644 --- a/integrations/repo_activity_test.go +++ b/integrations/repo_activity_test.go @@ -56,9 +56,9 @@ func TestRepoActivity(t *testing.T) { list = htmlDoc.doc.Find("#merged-pull-requests").Next().Find("p.desc") assert.Len(t, list.Nodes, 1) - // Should be 3 merged proposed pull requests + // Should be 2 proposed pull requests list = htmlDoc.doc.Find("#proposed-pull-requests").Next().Find("p.desc") - assert.Len(t, list.Nodes, 3) + assert.Len(t, list.Nodes, 2) // Should be 3 new issues list = htmlDoc.doc.Find("#new-issues").Next().Find("p.desc") |