2022-10-01 22:00:23 +00:00
|
|
|
use Mojo::Base -strict;
|
2022-07-22 22:43:01 +00:00
|
|
|
use Test::More;
|
|
|
|
use Test::Mojo;
|
|
|
|
|
2022-10-01 22:00:23 +00:00
|
|
|
my $t = Test::Mojo->new('PostText');
|
2022-07-22 22:43:01 +00:00
|
|
|
|
2022-10-13 03:58:46 +00:00
|
|
|
$t->get_ok('/')->status_is(302)->header_like(Location => qr/thread/);
|
2022-07-22 22:43:01 +00:00
|
|
|
|
|
|
|
done_testing();
|