Add testing for static pages.

master
Manager Bot 3 years ago
parent 4dedf5c8fa
commit 7029ab517c
  1. 3
      Web/t/01_endpoints/05_root/01_index.t
  2. 3
      Web/t/01_endpoints/05_root/02_about.t
  3. 3
      Web/t/01_endpoints/05_root/03_contact.t

@ -4,6 +4,7 @@ use MJB::Web::Test;
my $t = Test::Mojo::MJB->new('MJB::Web');
# Home Page Exists
$t->get_ok( '/' );
$t->get_ok( '/' )
->status_is( 200 );
done_testing();

@ -4,6 +4,7 @@ use MJB::Web::Test;
my $t = Test::Mojo::MJB->new('MJB::Web');
# About Page Exists
$t->get_ok( '/about' );
$t->get_ok( '/about' )
->status_is( 200 );
done_testing();

@ -4,6 +4,7 @@ use MJB::Web::Test;
my $t = Test::Mojo::MJB->new('MJB::Web');
# Contact Page Exists
$t->get_ok( '/contact' );
$t->get_ok( '/contact' )
->status_is( 200 );
done_testing();

Loading…
Cancel
Save