Added basic is server online test.
This commit is contained in:
parent
ba53a035e4
commit
74ccca28e2
1 changed files with 10 additions and 0 deletions
10
t/basic.t
Normal file
10
t/basic.t
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
use Test::More;
|
||||||
|
use Test::Mojo;
|
||||||
|
|
||||||
|
use FindBin;
|
||||||
|
require "$FindBin::Bin/../foodloopserver.pl";
|
||||||
|
|
||||||
|
my $t = Test::Mojo->new;
|
||||||
|
$t->get_ok('/')->status_is(200)->content_like(qr/server/);
|
||||||
|
|
||||||
|
done_testing();
|
Reference in a new issue