From ca14dc5c178a806cc60c78aaf74684b0c2d38234 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Mar 2019 11:59:35 -0300 Subject: [PATCH] Bug 22466: Add tests --- t/template_filters.t | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/t/template_filters.t b/t/template_filters.t index fb30229eef..b479faa292 100644 --- a/t/template_filters.t +++ b/t/template_filters.t @@ -16,7 +16,7 @@ # along with Koha; if not, see . use Modern::Perl; -use Test::More tests => 6; +use Test::More tests => 7; use t::lib::QA::TemplateFilters; subtest 'Asset must use raw' => sub { @@ -301,5 +301,22 @@ EXPECTED } ] ); +}; +subtest 'Do not escape TT methods' => sub { + plan tests => 2; + my $input = <