Lil moar test

This commit is contained in:
swaggboi 2023-11-10 13:16:53 -05:00
parent 40c23cc9b4
commit 5bf6670351

View File

@ -37,6 +37,12 @@ my %invalid_remark = (
body => 'a' body => 'a'
); );
# No CAPTCHA yet
$t->get_ok('/human/thread/post')->status_is(302)
->header_like(Location => qr/captcha/);
$t->get_ok('/human/remark/post/1')->status_is(302)
->header_like(Location => qr/captcha/);
# Do CAPTCHA # Do CAPTCHA
$t->post_ok($bump_thread_url, form => \%good_captcha) $t->post_ok($bump_thread_url, form => \%good_captcha)
->status_is(302) ->status_is(302)