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

(-)a/t/db_dependent/api/v1/holds.t (-3 / +2 lines)
Lines 146-154 subtest "Test endpoints without authentication" => sub { Link Here
146
    plan tests => 8;
146
    plan tests => 8;
147
    $t->get_ok('/api/v1/holds')
147
    $t->get_ok('/api/v1/holds')
148
      ->status_is(401);
148
      ->status_is(401);
149
    $t->post_ok('/api/v1/holds')
149
    $t->post_ok('/api/v1/holds' => json => $post_data)
150
      ->status_is(401);
150
      ->status_is(401);
151
    $t->put_ok('/api/v1/holds/0')
151
    $t->put_ok('/api/v1/holds/0' => json => $put_data)
152
      ->status_is(401);
152
      ->status_is(401);
153
    $t->delete_ok('/api/v1/holds/0')
153
    $t->delete_ok('/api/v1/holds/0')
154
      ->status_is(401);
154
      ->status_is(401);
155
- 

Return to bug 18890