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.
2017-01-31 13:53:24 +00:00
|
|
|
use Test::More;
|
|
|
|
use Test::Mojo;
|
|
|
|
|
|
|
|
use FindBin;
|
2017-03-08 18:52:04 +00:00
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
$ENV{MOJO_MODE} = 'testing';
|
|
|
|
$ENV{MOJO_LOG_LEVEL} = 'debug';
|
|
|
|
}
|
|
|
|
|
2017-02-24 19:27:43 +00:00
|
|
|
my $t = Test::Mojo->new("Pear::LocalLoop");
|
2017-02-13 16:54:35 +00:00
|
|
|
$t->get_ok('/login')->status_is(200)->content_like(qr/login page/);
|
2017-01-31 13:53:24 +00:00
|
|
|
|
2017-02-13 16:54:35 +00:00
|
|
|
done_testing();
|