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]
|
webmention = webmentions[0]
|
||||||
|
|
||||||
err := post.SendWebmention(webmention)
|
err := post.SendWebmention(webmention)
|
||||||
if err != nil {
|
if err == nil {
|
||||||
t.Errorf("Error sending webmention: %v", err)
|
t.Errorf("Expected error, got nil")
|
||||||
}
|
}
|
||||||
|
|
||||||
webmentions = post.OutgoingWebmentions()
|
webmentions = post.OutgoingWebmentions()
|
||||||
|
|
Loading…
Reference in New Issue