http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12653
--- Comment #13 from M. Tompsett <[email protected]> --- Comment on attachment 32529 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32529 Bug 12653: PROG/CCSR deprecation: Correct hard-coded opac-tmpl/prog path in tests Review of attachment 32529: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=12653&attachment=32529) ----------------------------------------------------------------- ::: xt/tt_valid.t @@ +29,5 @@ > +# 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) ) { > + push @themes, "$opac_dir/$theme"; /en is missing. @@ +37,5 @@ > +# STAFF themes > +my $staff_dir = 'koha-tmpl/intranet-tmpl'; > +opendir ( $dh, $staff_dir ) or die "can't opendir $staff_dir: $!"; > +for my $theme ( grep { not /^\.|lib|js/ } readdir($dh) ) { > + push @themes, "$staff_dir/$theme"; /en is missing. @@ +59,4 @@ > } > ($dir) = $dir =~ /koha-tmpl\/(.*)$/; > push @files, { name => "$dir/$name", lines => \@lines } if @lines; > + }, @themes However, since this is a find, it still works without the /en. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
