Bug 12194: followup to fix test
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Thu, 22 Oct 2015 18:28:50 +0000 (15:28 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Oct 2015 12:45:17 +0000 (09:45 -0300)
This patch adds new column 'oblique_title' to tested
data structure, and update number of tests

To test:
1) Run prove t/db_dependent/Labels/*, or specifically
prove t/db_dependent/Labels/t_Layout.t

It fails

2) apply the patch
3) Run test again, this time must pass

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Labels/t_Layout.t

index 8bad7ea..fdb01e4 100644 (file)
@@ -20,7 +20,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 36;
+use Test::More tests => 38;
 use C4::Context;
 use Data::Dumper;
 
@@ -37,6 +37,7 @@ my $default_layout = {
         printing_type   =>      'BAR',
         layout_name     =>      'TEST',
         guidebox        =>      0,
+        oblique_title   =>      1,
         font            =>      'TR',
         font_size       =>      3,
         callnum_split   =>      0,
@@ -65,6 +66,7 @@ my $new_attr = {
         printing_type   =>      'BIBBAR',
         layout_name     =>      'TEST',
         guidebox        =>      1,
+        oblique_title   =>      0,
         font            =>      'TR',
         font_size       =>      10,
         callnum_split   =>      1,