This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
use Test::More;
|
|
use Test::Mojo;
|
|
|
|
use FindBin;
|
|
|
|
BEGIN {
|
|
$ENV{MOJO_MODE} = 'testing';
|
|
$ENV{MOJO_LOG_LEVEL} = 'debug';
|
|
}
|
|
|
|
my $t = Test::Mojo->new("Pear::LocalLoop");
|
|
$t->get_ok('/login')->status_is(200)->content_like(qr/login page/);
|
|
|
|
done_testing();
|