error for not scanning
This commit is contained in:
parent
9559d27bf6
commit
ae29a0221c
|
@ -392,8 +392,8 @@ func TestSendWebmentionOnlyScansOncePerWeek(t *testing.T) {
|
|||
webmention = webmentions[0]
|
||||
|
||||
err := post.SendWebmention(webmention)
|
||||
if err != nil {
|
||||
t.Errorf("Error sending webmention: %v", err)
|
||||
if err == nil {
|
||||
t.Errorf("Expected error, got nil")
|
||||
}
|
||||
|
||||
webmentions = post.OutgoingWebmentions()
|
||||
|
|
Loading…
Reference in New Issue