summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/004template.t2
-rw-r--r--t/008filter.t2
-rw-r--r--t/bmo/comments.t2
3 files changed, 3 insertions, 3 deletions
diff --git a/t/004template.t b/t/004template.t
index 909f1a231..8b063a366 100644
--- a/t/004template.t
+++ b/t/004template.t
@@ -76,7 +76,7 @@ foreach my $include_path (@include_paths) {
url_quote => sub { return $_ } ,
css_class_quote => sub { return $_ } ,
xml => sub { return $_ } ,
- quoteUrls => sub { return $_ } ,
+ renderComment => sub { return $_ } ,
bug_link => [ sub { return sub { return $_; } }, 1] ,
csv => sub { return $_ } ,
unitconvert => sub { return $_ },
diff --git a/t/008filter.t b/t/008filter.t
index 443fb2b4f..050cf1ef3 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -214,7 +214,7 @@ sub directive_ok {
# Note: If a single directive prints two things, and only one is
# filtered, we may not catch that case.
return 1 if $directive =~ /FILTER\ (html|csv|js|base64|css_class_quote|ics|
- quoteUrls|time|uri|xml|lower|html_light|
+ renderComment|time|uri|xml|lower|html_light|
obsolete|inactive|closed|unitconvert|
txt|html_linebreak|none|json|null|id|
markdown)\b/x;
diff --git a/t/bmo/comments.t b/t/bmo/comments.t
index 4b0bb8177..f4064a7fc 100644
--- a/t/bmo/comments.t
+++ b/t/bmo/comments.t
@@ -61,7 +61,7 @@ my $bug_2 = Bugzilla::Bug->create(
my $bug_2_id = $bug_2->id;
-Bugzilla::Template::quoteUrls(
+Bugzilla::Template::renderComment(
$bug_2->comments->[0]->body, undef, undef, undef,
sub {
my $bug_id = $_[0];