Bug 16174: (QA followup) Fix remaining tests
authorTomas Cohen Arazi <tomascohen@unc.edu.ar>
Thu, 31 Mar 2016 14:21:14 +0000 (11:21 -0300)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Fri, 1 Apr 2016 19:11:33 +0000 (19:11 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>

xt/author/translatable-templates.t
xt/author/valid-templates.t
xt/single_quotes.t

index 59c3ff3..e00d3f0 100644 (file)
@@ -39,7 +39,7 @@ my $po_dir = tempdir(CLEANUP => 1);
 # Find OPAC themes
 my $opac_dir  = 'koha-tmpl/opac-tmpl';
 opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
-my @opac_themes = grep { not /^\.|lib|js/ } readdir($dh);
+my @opac_themes = grep { not /^\.|lib|js|xslt/ } readdir($dh);
 close $dh;
 
 # Find STAFF themes
index 6ee538f..5502d55 100644 (file)
@@ -41,7 +41,7 @@ my @themes;
 # OPAC themes
 my $opac_dir  = 'koha-tmpl/opac-tmpl';
 opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
-for my $theme ( grep { not /^\.|lib|js/ } readdir($dh) ) {
+for my $theme ( grep { not /^\.|lib|js|xslt/ } readdir($dh) ) {
     push @themes, {
         type     => "opac",
         theme    => $theme,
index 75681d1..3c079bb 100755 (executable)
@@ -27,7 +27,7 @@ my @themes;
 # OPAC themes
 my $opac_dir  = 'koha-tmpl/opac-tmpl';
 opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
-for my $theme ( grep { not /^\.|lib|js/ } readdir($dh) ) {
+for my $theme ( grep { not /^\.|lib|js|xslt/ } readdir($dh) ) {
     push @themes, "$opac_dir/$theme/en";
 }
 close $dh;