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 => 2;
20
use Test::More tests => 3;
21
use Test::Mojo;
21
use Test::Mojo;
22
use Test::Warn;
22
use Test::Warn;
23
23
Lines 126-131 subtest 'CORS support' => sub { Link Here
126
      ->header_is( 'Access-control-allow-origin', '*', 'Header set' );
126
      ->header_is( 'Access-control-allow-origin', '*', 'Header set' );
127
};
127
};
128
128
129
subtest 'spec retrieval tests' => sub {
130
131
    plan tests => 4;
132
133
    $t->get_ok("/api/v1/")
134
      ->status_is(200);
135
136
    $t->get_ok("/api/v1/.html")
137
      ->status_is(200);
138
};
139
129
sub create_user_and_session {
140
sub create_user_and_session {
130
    my $user = $builder->build(
141
    my $user = $builder->build(
131
        {
142
        {
132
- 

Return to bug 25327