Bugzilla – Attachment 180656 Details for
Bug 20551
Add option for including deleted records in export_records.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20551: (QA follow-up) perltidy and test fixes
Bug-20551-QA-follow-up-perltidy-and-test-fixes.patch (text/plain), 2.01 KB, created by
Andrew Fuerste-Henry
on 2025-04-04 16:13:58 UTC
(
hide
)
Description:
Bug 20551: (QA follow-up) perltidy and test fixes
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-04-04 16:13:58 UTC
Size:
2.01 KB
patch
obsolete
>From d64709ea9e6eb6d9674f2ea7400acad2b555d57a Mon Sep 17 00:00:00 2001 >From: Arthur Suzuki <arthur.suzuki@biblibre.com> >Date: Tue, 19 Nov 2024 11:25:43 +0100 >Subject: [PATCH] Bug 20551: (QA follow-up) perltidy and test fixes > >Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> >--- > t/db_dependent/Exporter/Record.t | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/Exporter/Record.t b/t/db_dependent/Exporter/Record.t >index 69b436e2ed..8947a2984f 100755 >--- a/t/db_dependent/Exporter/Record.t >+++ b/t/db_dependent/Exporter/Record.t >@@ -80,8 +80,8 @@ if ( $marcflavour eq 'UNIMARC' ) { > my $deleted_biblio = MARC::Record->new(); > $deleted_biblio->leader('00136nam a22000617a 4500'); > $deleted_biblio->append_fields( >- MARC::Field->new( '100', ' ', ' ', a => 'Chopra, Deepak' ), >- MARC::Field->new( '245', ' ', ' ', a => 'The seven spiritual laws of success' ), >+ MARC::Field->new( '100', ' ', ' ', a => 'Chopra, Deepak' ), >+ MARC::Field->new( $title_field_tag, ' ', ' ', a => 'The seven spiritual laws of success' ), > ); > my ($deleted_biblionumber) = AddBiblio( $deleted_biblio, '' ); > DelBiblio($deleted_biblionumber); >@@ -207,7 +207,7 @@ subtest 'export xml' => sub { > > # Leader has the expected value (and record status "d", length may have > # changed) >- ok( $deleted_record->leader =~ '\d{5}dam a22000617a 4500', 'Deleted record has the expected leader value' ); >+ ok( $deleted_record->leader =~ '\d{5}dam a22000\d{2}7a 4500', 'Deleted record has the expected leader value' ); > }; > > subtest 'export iso2709' => sub { >@@ -243,7 +243,7 @@ subtest 'export iso2709' => sub { > > # Leader has the expected value (and record status "d", length may have > # changed) >- ok( $deleted_record->leader =~ '\d{5}dam a22000617a 4500', 'Deleted record has the expected leader value' ); >+ ok( $deleted_record->leader =~ '\d{5}dam a22000\d{2}7a 4500', 'Deleted record has the expected leader value' ); > }; > > subtest 'export without record_type' => sub { >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20551
:
73916
|
73923
|
75113
|
82843
|
82914
|
82918
|
90184
|
90190
|
90220
|
93619
|
93620
|
93621
|
105403
|
116408
|
116409
|
116410
|
116411
|
123099
|
123101
|
123102
|
125211
|
125212
|
125213
|
125214
|
125215
|
125216
|
128895
|
128896
|
128897
|
128898
|
128899
|
128900
|
132936
|
132937
|
176623
|
176624
|
176625
|
176626
|
176627
|
176628
|
176629
|
176630
|
176631
|
177536
|
178343
|
178344
|
178345
|
178346
|
178347
|
178348
|
178349
|
178350
|
178351
|
178352
|
178353
|
178378
|
178379
|
178575
|
178617
|
178618
|
178619
|
178679
|
178680
|
178681
|
178682
|
179748
|
179749
|
180648
|
180649
|
180650
|
180651
|
180652
|
180653
|
180654
|
180655
| 180656 |
180657
|
180658
|
180659
|
180660
|
180661
|
180662
|
180663
|
180664
|
180665