From 270b1ffe0f3aa653a6987b3def7803617228c880 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 Content-Type: text/plain; charset=utf-8 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 --- 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 e5b0039..37f3309 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 -- 1.7.10.4