From 5ccb3371d4daff0626ce4f57c19a3d16632c9c84 Mon Sep 17 00:00:00 2001 From: Bernardo Gonzalez Kriegel Date: Thu, 22 Oct 2015 15:28:50 -0300 Subject: [PATCH] Bug 12194: followup to fix test 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 --- t/db_dependent/Labels/t_Layout.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/Labels/t_Layout.t b/t/db_dependent/Labels/t_Layout.t index 8bad7ea..fdb01e4 100644 --- a/t/db_dependent/Labels/t_Layout.t +++ b/t/db_dependent/Labels/t_Layout.t @@ -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, -- 2.1.0