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

(-)a/t/db_dependent/Koha/Patrons/Import.t (-3 lines)
Lines 214-220 my $params_4 = { file => $handle_4, matchpoint => $attribute->{code}, }; Link Here
214
my $result_4 = $patrons_import->import_patrons($params_4);
214
my $result_4 = $patrons_import->import_patrons($params_4);
215
215
216
# Then ...
216
# Then ...
217
warn Data::Dumper::Dumper( $result_4 );
218
is($result_4->{already_in_db}, 0, 'Got the expected 0 already_in_db from import_patrons with extended user');
217
is($result_4->{already_in_db}, 0, 'Got the expected 0 already_in_db from import_patrons with extended user');
219
is(scalar @{$result_4->{errors}}, 0, 'Got the expected 0 size error array from import_patrons with extended user');
218
is(scalar @{$result_4->{errors}}, 0, 'Got the expected 0 size error array from import_patrons with extended user');
220
219
Lines 236-242 is($result_4->{overwritten}, 0, 'Got the expected 0 overwritten result from impo Link Here
236
235
237
seek $handle_4,0,0; #Reset to verify finding a matched patron works
236
seek $handle_4,0,0; #Reset to verify finding a matched patron works
238
my $result_4a = $patrons_import->import_patrons($params_4);
237
my $result_4a = $patrons_import->import_patrons($params_4);
239
warn Data::Dumper::Dumper( $result_4a );
240
is($result_4a->{already_in_db}, 1, 'Got the expected 1 already_in_db from import_patrons with extended user matched');
238
is($result_4a->{already_in_db}, 1, 'Got the expected 1 already_in_db from import_patrons with extended user matched');
241
is(scalar @{$result_4->{errors}}, 0, 'Got the expected 0 size error array from import_patrons with extended user matched');
239
is(scalar @{$result_4->{errors}}, 0, 'Got the expected 0 size error array from import_patrons with extended user matched');
242
240
243
- 

Return to bug 22386