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

(-)a/t/db_dependent/Auth.t (-1 / +2 lines)
Lines 1351-1356 subtest 'AutoSelfCheckAllowed' => sub { Link Here
1351
    $auth->mock( 'safe_exit', sub { return } );
1351
    $auth->mock( 'safe_exit', sub { return } );
1352
1352
1353
    t::lib::Mocks::mock_preference( 'AutoSelfCheckAllowed', 0 );
1353
    t::lib::Mocks::mock_preference( 'AutoSelfCheckAllowed', 0 );
1354
    C4::Context->unset_userenv();
1354
1355
1355
    # Pref is off, cannot access sco
1356
    # Pref is off, cannot access sco
1356
    {
1357
    {
Lines 1376-1381 subtest 'AutoSelfCheckAllowed' => sub { Link Here
1376
    t::lib::Mocks::mock_preference( 'AutoSelfCheckID',   '' );
1377
    t::lib::Mocks::mock_preference( 'AutoSelfCheckID',   '' );
1377
    t::lib::Mocks::mock_preference( 'AutoSelfCheckPass', '' );
1378
    t::lib::Mocks::mock_preference( 'AutoSelfCheckPass', '' );
1378
1379
1380
1379
    # Credential prefs are empty, cannot access sco
1381
    # Credential prefs are empty, cannot access sco
1380
    {
1382
    {
1381
        # checkauth will redirect and safe_exit if not authenticated and not authorized
1383
        # checkauth will redirect and safe_exit if not authenticated and not authorized
1382
- 

Return to bug 36367