Bugzilla – Attachment 157999 Details for
Bug 10762
Make it possible to adjust the barcode height and width on labels
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10762: Fix default values test
Bug-10762-Fix-default-values-test.patch (text/plain), 2.02 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-10-27 20:18:45 UTC
(
hide
)
Description:
Bug 10762: Fix default values test
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-10-27 20:18:45 UTC
Size:
2.02 KB
patch
obsolete
>From 42330ef523b99c78c6457543072f12245b029fc9 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 27 Oct 2023 17:16:27 -0300 >Subject: [PATCH] Bug 10762: Fix default values test > >This patch adds the new default values to the data structure the result >is compared with. > >It also fixes the tests count (probably an untested rebase issue) > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/Labels/t_Layout.t | 34 +++++++++++++++++--------------- > 1 file changed, 18 insertions(+), 16 deletions(-) > >diff --git a/t/db_dependent/Labels/t_Layout.t b/t/db_dependent/Labels/t_Layout.t >index 54be026ba70..9e269061a44 100755 >--- a/t/db_dependent/Labels/t_Layout.t >+++ b/t/db_dependent/Labels/t_Layout.t >@@ -19,7 +19,7 @@ > > use Modern::Perl; > >-use Test::More tests => 38; >+use Test::More tests => 40; > use C4::Context; > > BEGIN { >@@ -27,21 +27,23 @@ BEGIN { > } > > my $default_layout = { >- creator => 'Labels', >- layout_xml => '', >- units => 'POINT', >- start_label => 1, >- barcode_type => 'CODE39', >- printing_type => 'BAR', >- layout_name => 'TEST', >- guidebox => 0, >- oblique_title => 1, >- font => 'TR', >- font_size => 3, >- callnum_split => 0, >- text_justify => 'L', >- format_string => 'title, author, isbn, issn, itemtype, barcode, itemcallnumber', >- }; >+ barcode_type => 'CODE39', >+ callnum_split => 0, >+ creator => 'Labels', >+ font => 'TR', >+ font_size => 3, >+ format_string => 'title, author, isbn, issn, itemtype, barcode, itemcallnumber', >+ guidebox => 0, >+ layout_name => 'TEST', >+ layout_xml => '', >+ oblique_title => 1, >+ printing_type => 'BAR', >+ scale_height => 0.01, >+ scale_width => 0.8, >+ start_label => 1, >+ text_justify => 'L', >+ units => 'POINT', >+}; > > my $layout; > >-- >2.42.0
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 10762
:
127729
|
134754
|
144900
|
144933
|
144939
|
144940
|
144941
|
154456
|
154457
|
154458
|
154459
|
154559
|
154560
|
154561
|
154562
|
157168
|
157169
|
157170
|
157171
|
157172
| 157999 |
158014