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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-1 / +1 lines)
Lines 117-123 Link Here
117
                    [% END %]
117
                    [% END %]
118
                    [% IF e.passwd_too_short %]
118
                    [% IF e.passwd_too_short %]
119
                        <li class="line_error">
119
                        <li class="line_error">
120
                            Password is too short for patron with borrowernumber [% e.borrowernumber | html %]. Minimum length is [% e.min_length %], length is [% e.length %]
120
                            Password is too short for patron with borrowernumber [% e.borrowernumber | html %]. Minimum length is [% e.min_length | html %], length is [% e.length | html %]
121
                        </li>
121
                        </li>
122
                    [% END %]
122
                    [% END %]
123
                    [% IF e.passwd_whitespace %]
123
                    [% IF e.passwd_whitespace %]
(-)a/t/db_dependent/Koha/Patrons/Import.t (-2 lines)
Lines 494-500 subtest 'test_import_with_password_overwrite' => sub { Link Here
494
    $ernest->store;
494
    $ernest->store;
495
495
496
    $result = $patrons_import->import_patrons($params_4, $defaults);
496
    $result = $patrons_import->import_patrons($params_4, $defaults);
497
    warn Data::Dumper::Dumper( $result );
498
    $ernest = Koha::Patrons->find({ userid => 'ErnestP' });
497
    $ernest = Koha::Patrons->find({ userid => 'ErnestP' });
499
    is($ernest->surname,'Worrell',"Patron is overwritten, surname changed");
498
    is($ernest->surname,'Worrell',"Patron is overwritten, surname changed");
500
    is($ernest->password,$orig_pass,"Patron is imported, password is not changed for staff");
499
    is($ernest->password,$orig_pass,"Patron is imported, password is not changed for staff");
501
- 

Return to bug 23473