diff --git a/t/db_dependent/api/v1/auth.t b/t/db_dependent/api/v1/auth.t index 4f47227886..0814720ee5 100644 --- a/t/db_dependent/api/v1/auth.t +++ b/t/db_dependent/api/v1/auth.t @@ -17,7 +17,7 @@ use Modern::Perl; -use Test::More tests => 1; +use Test::More tests => 2; use Test::Mojo; use Test::Warn; @@ -107,6 +107,17 @@ subtest 'under() tests' => sub { $schema->storage->txn_rollback; }; +subtest 'spec retrieval tests' => sub { + + plan tests => 4; + + $t->get_ok("/api/v1/") + ->status_is(200); + + $t->get_ok("/api/v1/.html") + ->status_is(200); +}; + sub create_user_and_session { my $user = $builder->build( {