error for not scanning

This commit is contained in:
Niko Abeler 2022-09-10 14:23:02 +02:00
parent 9559d27bf6
commit ae29a0221c
1 changed files with 2 additions and 2 deletions

View File

@ -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()