From 1134a8db1f195a16da024189bd92957b5638d234 Mon Sep 17 00:00:00 2001 From: Guillermo Prandi Date: Fri, 24 Jan 2020 00:50:08 -0300 Subject: [PATCH 1/2] Fix activity count --- integrations/repo_activity_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/repo_activity_test.go b/integrations/repo_activity_test.go index e21f27893dc94..cec5c79c4d200 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 merged 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") From 45a61ee9482efce2de3c18fa21957ea8bb8820c9 Mon Sep 17 00:00:00 2001 From: Guillermo Prandi Date: Fri, 24 Jan 2020 02:14:01 -0300 Subject: [PATCH 2/2] Fix comment --- integrations/repo_activity_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/repo_activity_test.go b/integrations/repo_activity_test.go index cec5c79c4d200..56b70c9595dc4 100644 --- a/integrations/repo_activity_test.go +++ b/integrations/repo_activity_test.go @@ -56,7 +56,7 @@ func TestRepoActivity(t *testing.T) { list = htmlDoc.doc.Find("#merged-pull-requests").Next().Find("p.desc") assert.Len(t, list.Nodes, 1) - // Should be 2 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, 2)