| Lines 48-54
          SKIP: {
      
      
        Link Here | 
        
          | 48 |         like( $driver->get_title, qr(Log in to Koha), 'Hitting the main page should redirect to the login form'); | 48 |         like( $driver->get_title, qr(Log in to Koha), 'Hitting the main page should redirect to the login form'); | 
        
          | 49 |  | 49 |  | 
        
          | 50 |         my $password = Koha::AuthUtils::generate_password(); | 50 |         my $password = Koha::AuthUtils::generate_password(); | 
          
            
              | 51 |         my $patron = $builder->build_object({ class => 'Koha::Patrons', value => { flags => 0 }}); | 51 |         my $category = $builder->build_object({class => 'Koha::Patron::Categories', value => { min_password_length => undef, require_strong_password => undef } }); | 
            
              |  |  | 52 |         my $patron = $builder->build_object({ class => 'Koha::Patrons', value => { flags => 0, categorycode => $category->categorycode }}); | 
        
          | 52 |         t::lib::Mocks::mock_preference( 'RequireStrongPassword', 0 ); | 53 |         t::lib::Mocks::mock_preference( 'RequireStrongPassword', 0 ); | 
        
          | 53 |         $patron->set_password({ password => $password }); | 54 |         $patron->set_password({ password => $password }); | 
        
          | 54 |  | 55 |  | 
  
    | Lines 82-88
          SKIP: {
      
      
        Link Here | 
        
          | 82 |         like( $driver->get_title, qr(Koha online catalog), 'Hitting the main page should not redirect to the login form'); | 83 |         like( $driver->get_title, qr(Koha online catalog), 'Hitting the main page should not redirect to the login form'); | 
        
          | 83 |  | 84 |  | 
        
          | 84 |         my $password = Koha::AuthUtils::generate_password(); | 85 |         my $password = Koha::AuthUtils::generate_password(); | 
          
            
              | 85 |         my $patron = $builder->build_object({ class => 'Koha::Patrons', value => { flags => 0 }}); | 86 |         my $category = $builder->build_object({class => 'Koha::Patron::Categories', value => { min_password_length => undef, require_strong_password => undef } }); | 
            
              |  |  | 87 |         my $patron = $builder->build_object({ class => 'Koha::Patrons', value => { flags => 0, categorycode => $category->categorycode }}); | 
        
          | 86 |         t::lib::Mocks::mock_preference( 'RequireStrongPassword', 0 ); | 88 |         t::lib::Mocks::mock_preference( 'RequireStrongPassword', 0 ); | 
        
          | 87 |         $patron->set_password({ password => $password }); | 89 |         $patron->set_password({ password => $password }); | 
        
          | 88 |  | 90 |  |