Make this test a lil more specific

This commit is contained in:
swag 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/);
# 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();