From 3252c30dd9e901189cc051b74834b55cf2ceea3f Mon Sep 17 00:00:00 2001 From: Adhityaa Date: Thu, 7 Jun 2018 23:19:13 +0530 Subject: [PATCH] comment_approve_test.go: include unapproved listing --- api/comment_approve_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/comment_approve_test.go b/api/comment_approve_test.go index c5594f2..26833ae 100644 --- a/api/comment_approve_test.go +++ b/api/comment_approve_test.go @@ -17,7 +17,7 @@ func TestCommentApproveBasics(t *testing.T) { return } - if c, _, _ := commentList("anonymous", "example.com", "/path.html", false); c[0].State != "approved" { + if c, _, _ := commentList("anonymous", "example.com", "/path.html", true); c[0].State != "approved" { t.Errorf("expected state = approved got state = %s", c[0].State) return }