2022-07-22 22:43:01 +00:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
use Test::More;
|
|
|
|
use Mojo::File qw{curfile};
|
|
|
|
use Test::Mojo;
|
|
|
|
|
|
|
|
my $script = curfile->dirname->sibling('PostText.pl');
|
|
|
|
my $t = Test::Mojo->new($script);
|
|
|
|
|
2022-07-29 01:13:26 +00:00
|
|
|
$t->get_ok('/')->status_is(302);
|
2022-07-22 22:43:01 +00:00
|
|
|
|
|
|
|
done_testing();
|