From d350fc7cf994f415a3f43a62ed7bd033dcf9318a 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 --- 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 -- 2.7.4