Browse Source

Bug 16174: (QA followup) Fix remaining tests

Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
new_12478_elasticsearch
Tomas Cohen Arazi 6 years ago
committed by Brendan A Gallagher
parent
commit
cc4d9822a1
  1. 2
      xt/author/translatable-templates.t
  2. 2
      xt/author/valid-templates.t
  3. 2
      xt/single_quotes.t

2
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

2
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,

2
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;

Loading…
Cancel
Save