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.
Foodloop-Server/t/basic.t

15 lines
256 B
Perl
Raw Normal View History

2017-01-31 13:53:24 +00:00
use Test::More;
use Test::Mojo;
use FindBin;
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");
$t->get_ok('/api/login')->status_is(200)->content_like(qr/login page/);
2017-01-31 13:53:24 +00:00
done_testing();