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 |
- |
|
|