Bugzilla – Attachment 60055 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), 1021 bytes, created by
Kyle M Hall (khall)
on 2017-02-09 11:49:27 UTC
(
hide
)
Description:
Bug 18089 - Unit test
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-02-09 11:49:27 UTC
Size:
1021 bytes
patch
obsolete
>From e42c76da53277aef1bc1d52d96e5619f90620afc 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 > >--- > t/XSLT.t | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/t/XSLT.t b/t/XSLT.t >index 21c2e93..14f53a3 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/ ); >+ > 1; >-- >2.1.4
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