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 8b063a366..909f1a231 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 $_ } ,
- renderComment => sub { return $_ } ,
+ quoteUrls => 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 050cf1ef3..443fb2b4f 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|
- renderComment|time|uri|xml|lower|html_light|
+ quoteUrls|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 f4064a7fc..4b0bb8177 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::renderComment(
+Bugzilla::Template::quoteUrls(
$bug_2->comments->[0]->body, undef, undef, undef,
sub {
my $bug_id = $_[0];