From 5bf66703510cfa50a5118b25a0660af3f3ebeaa3 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Fri, 10 Nov 2023 13:16:53 -0500 Subject: [PATCH] Lil moar test --- t/post.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/post.t b/t/post.t index e6166a5..2b22093 100644 --- a/t/post.t +++ b/t/post.t @@ -37,6 +37,12 @@ my %invalid_remark = ( 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 $t->post_ok($bump_thread_url, form => \%good_captcha) ->status_is(302)