Make this test a lil more specific

This commit is contained in:
swagg boi 2022-04-08 16:01:30 -04:00
parent c9ffdd4760
commit 24102e1c47

View file

@ -40,6 +40,7 @@ $t->post_ok('/sign', form => \%invalid_form)->status_is(200)
->content_like(qr/URL does not appear to be/); ->content_like(qr/URL does not appear to be/);
# Spam test # Spam test
$t->post_ok('/sign', form => \%spam_form)->status_is(403); $t->post_ok('/sign', form => \%spam_form)->status_is(403)
->text_is(p => 'This message was flagged as spam');
done_testing(); done_testing();