Bugzilla – Attachment 151220 Details for
Bug 11844
Additional fields for order lines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
k
Bug-11844-follow-up-Fix-tests.patch (text/plain), 1.48 KB, created by
Katrin Fischer
on 2023-05-15 20:56:02 UTC
(
hide
)
Description:
k
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-05-15 20:56:02 UTC
Size:
1.48 KB
patch
obsolete
>From 691cfcb90f631c84585b9e97bc01dbe96539be63 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 15 May 2023 20:54:41 +0000 >Subject: [PATCH] Bug 11844: (follow-up) Fix tests > >Moves the test from 999 which already exists in record to 998 >as the feature only matches on the first field. >--- > t/db_dependent/Koha/Object/Mixin/AdditionalFields.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t b/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t >index c397701f8a..e33a77d068 100755 >--- a/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t >+++ b/t/db_dependent/Koha/Object/Mixin/AdditionalFields.t >@@ -20,7 +20,7 @@ subtest 'set_additional_fields with marcfield_mode = "get"' => sub { > my $biblio = $builder->build_sample_biblio(); > my $record = $biblio->record; > $record->append_fields( >- MARC::Field->new('999', '', '', 'Z' => 'some value'), >+ MARC::Field->new('998', '', '', 'Z' => 'some value'), > ); > $biblio->metadata->metadata($record->as_xml_record(C4::Context->preference('marcflavour'))); > $biblio->metadata->store()->discard_changes(); >@@ -35,7 +35,7 @@ subtest 'set_additional_fields with marcfield_mode = "get"' => sub { > { > tablename => 'subscription', > name => random_string('c' x 100), >- marcfield => '999$Z', >+ marcfield => '998$Z', > marcfield_mode => 'get', > } > ); >-- >2.30.2
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 11844
:
25632
|
25638
|
41859
|
41860
|
45674
|
45675
|
45676
|
45758
|
45915
|
45916
|
45917
|
53614
|
53615
|
53616
|
53618
|
53619
|
55529
|
75332
|
75362
|
141116
|
145517
|
145535
|
145536
|
145540
|
146497
|
146500
|
146501
|
146502
|
146503
|
146504
|
146505
|
146506
|
148889
|
148895
|
148897
|
149081
|
149082
|
149083
|
149084
|
149085
|
149086
|
149087
|
149088
|
149089
|
149090
|
149091
|
149682
|
149683
|
149684
|
149685
|
149686
|
149687
|
149688
|
149689
|
149690
|
149691
|
149692
|
150537
|
150538
|
150539
|
150540
|
150541
|
150542
|
150543
|
150544
|
150545
|
150546
|
150547
|
150548
|
151220
|
151221
|
151222
|
151223
|
151224
|
151225
|
151226
|
151227
|
151228
|
151229
|
151230
|
151366