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

(-)a/t/db_dependent/api/v1/two_factor_auth.t (-3 / +1 lines)
Lines 176-183 subtest 'send_otp_token' => sub { Link Here
176
    $tx->req->cookies( { name => 'CGISESSID', value => $session->id } );
176
    $tx->req->cookies( { name => 'CGISESSID', value => $session->id } );
177
    $tx->req->env( { REMOTE_ADDR => $remote_address } );
177
    $tx->req->env( { REMOTE_ADDR => $remote_address } );
178
178
179
    # FIXME This is not correct They are authenticated!
179
    # Session is still anonymous, no borrowernumber yet: Unauthorized
180
    # Patron is not authenticated yet
181
    $t->request_ok($tx)->status_is(401);
180
    $t->request_ok($tx)->status_is(401);
182
181
183
    # Patron is partially authenticated (credentials correct)
182
    # Patron is partially authenticated (credentials correct)
184
- 

Return to bug 30588