View | Details | Raw Unified | Return to bug 25327
Collapse All | Expand All

(-)a/t/db_dependent/api/v1/auth.t (-2 / +12 lines)
Lines 17-23 Link Here
17
17
18
use Modern::Perl;
18
use Modern::Perl;
19
19
20
use Test::More tests => 1;
20
use Test::More tests => 2;
21
use Test::Mojo;
21
use Test::Mojo;
22
use Test::Warn;
22
use Test::Warn;
23
23
Lines 107-112 subtest 'under() tests' => sub { Link Here
107
    $schema->storage->txn_rollback;
107
    $schema->storage->txn_rollback;
108
};
108
};
109
109
110
subtest 'spec retrieval tests' => sub {
111
112
    plan tests => 4;
113
114
    $t->get_ok("/api/v1/")
115
      ->status_is(200);
116
117
    $t->get_ok("/api/v1/.html")
118
      ->status_is(200);
119
};
120
110
sub create_user_and_session {
121
sub create_user_and_session {
111
    my $user = $builder->build(
122
    my $user = $builder->build(
112
        {
123
        {
113
- 

Return to bug 25327