comment_approve_test.go: include unapproved listing
This commit is contained in:
parent
1df933c3c0
commit
3252c30dd9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user