From 5c3a58e20863abde22ca2e57233cdf49cc6982e0 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 30 Mar 2016 16:11:19 -0300 Subject: [PATCH] Bug 16174: icondirectories.t broken due to bug 15527 This patch fixes it. To test: - Run $ prove xt/author/icondirectories.t => FAIL: Tests fail: Failed test 'opac_icon_directory: koha-tmpl/opac-tmpl/xslt/itemtypeimg exists' - Apply the patch - Run $ prove xt/author/icondirectories.t => SUCCESS: Tests pass and don't raise warnings. - Sign off Signed-off-by: Mark Tompsett Signed-off-by: Marcel de Rooy Signed-off-by: Brendan A Gallagher --- xt/author/icondirectories.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xt/author/icondirectories.t b/xt/author/icondirectories.t index e5b0039474..37f3309fba 100644 --- a/xt/author/icondirectories.t +++ b/xt/author/icondirectories.t @@ -42,7 +42,7 @@ my $staff_dir = 'koha-tmpl/intranet-tmpl'; # Find OPAC themes 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 -- 2.20.1