From d0f2ff983363b49b8edc5fd6c00e3df721c51537 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 31 Mar 2016 11:21:14 -0300 Subject: [PATCH] Bug 16174: (QA followup) Fix remaining tests Signed-off-by: Tomas Cohen Arazi --- xt/author/translatable-templates.t | 2 +- xt/author/valid-templates.t | 2 +- xt/single_quotes.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xt/author/translatable-templates.t b/xt/author/translatable-templates.t index 59c3ff3..e00d3f0 100644 --- a/xt/author/translatable-templates.t +++ b/xt/author/translatable-templates.t @@ -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 diff --git a/xt/author/valid-templates.t b/xt/author/valid-templates.t index 6ee538f..5502d55 100644 --- a/xt/author/valid-templates.t +++ b/xt/author/valid-templates.t @@ -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, diff --git a/xt/single_quotes.t b/xt/single_quotes.t index 75681d1..3c079bb 100755 --- a/xt/single_quotes.t +++ b/xt/single_quotes.t @@ -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; -- 2.7.4