PostText/t/redirect_old_path.t

11 lines
207 B
Perl
Raw Normal View History

2024-08-14 20:30:55 +00:00
use Mojo::Base -strict;
use Test::More;
use Test::Mojo;
my $t = Test::Mojo->new('PostText');
$t->get_ok('/thread/post')->status_is(302)
->header_like(Location => qr{human/thread/post});
done_testing;