https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42152 --- Comment #8 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Created attachment 197384 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197384&action=edit Bug 42152: use Koha::Devel::Files to list files to process - valid-templates.t We must use Koha::Devel::Files to list the files we process in our tests. This ensures that only the files from the git index are checked. Test plan: 0. Do not apply this patch time prove xt/author/valid-templates.t => Note the execution time and the number of files processed 1. Apply this patch, time prove xt/author/valid-templates.t => It's faster and we processed the same number of files 2. Edit a template, add a syntax error (e.g. remove a [% END %]) prove xt/author/valid-templates.t => It fails Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.