mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-30 11:06:37 -04:00
comment_approve_test.go: include unapproved listing
This commit is contained in:
@ -17,7 +17,7 @@ func TestCommentApproveBasics(t *testing.T) {
|
|||||||
return
|
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)
|
t.Errorf("expected state = approved got state = %s", c[0].State)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user