From f93ba53bd460cb19875738a1cc19a597cd10a7a9 Mon Sep 17 00:00:00 2001
From: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
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 <mtompset@hotmail.com>
---
 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.1.4