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 }