Bugzilla – Attachment 60065 Details for
Bug 18089
All XSLT testing singleBranchMode = 0 fails to show even if install has only 1 branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18089 - Unit test
Bug-18089---Unit-test.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2017-02-09 12:14:18 UTC
(
hide
)
Description:
Bug 18089 - Unit test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-02-09 12:14:18 UTC
Size:
1.20 KB
patch
obsolete
>From 8dcbc67c88b94e9ba2d7d3073705d0ded500f81a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 9 Feb 2017 11:48:08 +0000 >Subject: [PATCH] Bug 18089 - Unit test > >Signed-off-by: Jenny Schmidt <jschmidt@switchinc.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > t/XSLT.t | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/t/XSLT.t b/t/XSLT.t >index 21c2e93..7e7ed06 100755 >--- a/t/XSLT.t >+++ b/t/XSLT.t >@@ -17,7 +17,7 @@ > > use Modern::Perl; > >-use Test::More tests => 8; >+use Test::More tests => 9; > use File::Temp; > use File::Path qw/make_path/; > >@@ -62,4 +62,8 @@ is(find_and_slurp($dir, 'test', 'fr-FR'), 'Theme test, language en', 'Fell ba > is(find_and_slurp($dir, 'nope', 'es-ES'), 'Theme prog, language es-ES', 'Fell back to prog/es-ES for nope/es-ES'); > is(find_and_slurp($dir, 'nope', 'fr-FR'), 'Theme prog, language en', 'Fell back to prog/en for nope/fr-FR'); > >+my $matching_string = q{<syspref name="singleBranchMode">0</syspref>}; >+my $sysprefs_xml = C4::XSLT::get_xslt_sysprefs(); >+ok( $sysprefs_xml =~ m/$matching_string/, 'singleBranchMode has a value of 0'); >+ > 1; >-- >2.9.3
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 18089
:
60055
|
60056
|
60059
|
60060
|
60061
|
60062
| 60065 |
60066
|
60067