[Koha-bugs] [Bug 31883] t::lib::QA::TemplateFilters missing built-in TT filter "trim" causes false warnings
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 20 02:33:26 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31883
--- Comment #1 from Mason James <mtj at kohaaloha.com> ---
Created attachment 142218
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142218&action=edit
BugĀ 31883: t::lib::QA::TemplateFilters missing built-in TT filter "trim" causes
false warnings
to test...
1/ checkout latest master
2/ prove xt/find-missing-filters.t
xt/find-missing-filters.t .. 1/1
# Failed test 'Template variables should be correctly escaped'
# at xt/find-missing-filters.t line 59.
# got: '1'
# expected: '0'
# $VAR1 = {
# 'errors' => [
# {
# 'error' => 'missing_filter',
# 'line' => ' [% messages
= INCLUDE \'patron_messages.inc\' moremember = 1 | trim %]',
# 'line_number' => 97
# }
# ],
# 'file' =>
'koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt'
# };
# Looks like you failed 1 test of 1.
3/ apply patch
4/ prove xt/find-missing-filters.t
xt/find-missing-filters.t .. ok
All tests successful.
Files=1, Tests=1, 2 wallclock secs ( 0.03 usr 0.01 sys + 2.15 cusr 0.07
csys = 2.26 CPU)
Result: PASS <<<<<<<<<<<<<<<
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list