Bugzilla – Attachment 112311 Details for
Bug 24480
Fields added with MARC modifications templates are not added in an ordered way
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24480: Unit test (rebased)
Bug-24480-Unit-test-rebased.patch (text/plain), 2.84 KB, created by
Phil Ringnalda
on 2020-10-23 21:37:54 UTC
(
hide
)
Description:
Bug 24480: Unit test (rebased)
Filename:
MIME Type:
Creator:
Phil Ringnalda
Created:
2020-10-23 21:37:54 UTC
Size:
2.84 KB
patch
obsolete
>From 80115b3f968e29502ef72b91b8024cafdb95f509 Mon Sep 17 00:00:00 2001 >From: Arthur Suzuki <arthur.suzuki@biblibre.com> >Date: Sat, 25 Jan 2020 23:19:52 +0100 >Subject: [PATCH] Bug 24480: Unit test (rebased) > >Signed-off-by: Kelly <kelly@bywatersolutions.com> >--- > t/db_dependent/MarcModificationTemplates.t | 40 +++++++++++----------- > 1 file changed, 20 insertions(+), 20 deletions(-) > >diff --git a/t/db_dependent/MarcModificationTemplates.t b/t/db_dependent/MarcModificationTemplates.t >index aee89f6198..b2f37c36c4 100755 >--- a/t/db_dependent/MarcModificationTemplates.t >+++ b/t/db_dependent/MarcModificationTemplates.t >@@ -464,6 +464,9 @@ sub new_record { > my $record = MARC::Record->new; > $record->leader('03174nam a2200445 a 4500'); > my @fields = ( >+ MARC::Field->new( >+ '007', 'vxcdq', >+ ), > MARC::Field->new( > 100, '1', ' ', > a => 'Knuth, Donald Ervin', >@@ -515,36 +518,33 @@ sub expected_record_1 { > a => 'The art of computer programming', > c => 'Donald E. Knuth.', > ), >- MARC::Field->new( >- 650, ' ', '0', >- 9 => '462', >- ), >- MARC::Field->new( >- 952, ' ', ' ', >- p => '3010023917_updated', >- y => 'BK', >- c => 'GEN', >- e => '2001-06-25', >- ), > MARC::Field->new( > 246, '', ' ', > a => 'The art of computer programming', > ), >+ MARC::Field->new( >+ 650, ' ', '0', >+ 9 => '462', >+ ), > MARC::Field->new( > 651, ' ', '0', > a => 'Computer algorithms.', > 9 => '499', > ), > MARC::Field->new( >- 999, ' ', ' ', >- a => 'existent - updated.', >+ 952, ' ', ' ', >+ p => '3010023917_updated', >+ y => 'BK', >+ c => 'GEN', >+ e => '2001-06-25', > ), > MARC::Field->new( > 999, ' ', ' ', > a => 'additional existent.', > ), > MARC::Field->new( >- '007', 'vxcdq', >+ 999, ' ', ' ', >+ a => 'existent - updated.', > ), > ); > $record->append_fields(@fields); >@@ -575,18 +575,18 @@ sub expected_record_2 { > a => 'Computer programming.', > 9 => '499', > ), >+ MARC::Field->new( >+ 651, ' ', '0', >+ a => 'Computer programming.', >+ 9 => '462', >+ ), > MARC::Field->new( > 952, ' ', ' ', > p => '3010023917', > y => 'BK', > c => 'GEN', > d => '2001-06-25', >- ), >- MARC::Field->new( >- 651, ' ', '0', >- a => 'Computer programming.', >- 9 => '462', >- ), >+ ) > ); > $record->append_fields(@fields); > return $record; >-- >2.26.1
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 24480
:
97695
|
97944
|
97945
|
98975
|
98976
|
106621
|
112311
|
112312
|
150665
|
150666
|
155714
|
155715
|
155716
|
155717
|
155721
|
155722
|
155723
|
155724
|
158130
|
158131
|
158132
|
158133