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> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
543dc8e036
commit
99cc3bdd0e
6
t/XSLT.t
6
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue