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

(-)a/t/db_dependent/api/v1/checkouts.t (-1 / +2 lines)
Lines 200-205 $t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id . "/all Link Here
200
  ->json_is({
200
  ->json_is({
201
        allows_renewal   => Mojo::JSON->true,
201
        allows_renewal   => Mojo::JSON->true,
202
        max_renewals     => 1,
202
        max_renewals     => 1,
203
        unseen_renewals  => 0,
203
        current_renewals => 0,
204
        current_renewals => 0,
204
        error            => undef
205
        error            => undef
205
    });
206
    });
Lines 219-224 $t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id . "/all Link Here
219
  ->json_is({
220
  ->json_is({
220
        allows_renewal   => Mojo::JSON->false,
221
        allows_renewal   => Mojo::JSON->false,
221
        max_renewals     => 1,
222
        max_renewals     => 1,
223
        unseen_renewals  => 0,
222
        current_renewals => 1,
224
        current_renewals => 1,
223
        error            => 'too_many'
225
        error            => 'too_many'
224
    });
226
    });
225
- 

Return to bug 24083