https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42152 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 197175 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=197175&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 -- You are receiving this mail because: You are watching all bug changes.