summaryrefslogtreecommitdiff
path: root/rt/t/web/rest.t
diff options
context:
space:
mode:
Diffstat (limited to 'rt/t/web/rest.t')
-rw-r--r--rt/t/web/rest.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/rt/t/web/rest.t b/rt/t/web/rest.t
index 3a84b2a01..8b8cbcb86 100644
--- a/rt/t/web/rest.t
+++ b/rt/t/web/rest.t
@@ -204,7 +204,7 @@ is($link, 1, "Check ticket link.") or diag("'content' obtained:\n", $m->content)
$text = $m->content;
$text =~ s/.*?\n\n//;
$text =~ s/\n\n/\n/;
- $text =~ s{CF\.{severity}:.*\n}{}img;
+ $text =~ s{CF\.\{severity\}:.*\n}{}img;
$text .= "CF.{severity}: explosive, a bit\n";
$m->post(
"$baseurl/REST/1.0/ticket/edit",
@@ -234,7 +234,7 @@ is($link, 1, "Check ticket link.") or diag("'content' obtained:\n", $m->content)
]
);
$text = $m->content;
- $text =~ s{CF\.{severity}:.*\n}{}img;
+ $text =~ s{CF\.\{severity\}:.*\n}{}img;
$text .= "CF.{severity}:\n";
$m->post(
"$baseurl/REST/1.0/ticket/edit",
@@ -301,7 +301,7 @@ is($link, 1, "Check ticket link.") or diag("'content' obtained:\n", $m->content)
]
);
$text = $m->content;
- $text =~ s{CF\.{single}:.*\n}{}img;
+ $text =~ s{CF\.\{single\}:.*\n}{}img;
$text .= "CF.{single}: that\n";
$m->post(
"$baseurl/REST/1.0/ticket/edit",