[Rt-commit] [rtir] 05/07: remove symbols that were being escaped funnily from rtir tests
Jesse Vincent
jesse at bestpractical.com
Mon Mar 16 04:38:36 EDT 2015
This is an automated email from the git hooks/post-receive script.
jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.
commit 05fc1788e92158f4b492e1b52b2474fa0fb082e8
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Mar 16 01:37:14 2015 -0700
remove symbols that were being escaped funnily from rtir tests
---
lib/RT/IR/Test/Web.pm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/RT/IR/Test/Web.pm b/lib/RT/IR/Test/Web.pm
index 169de45..80af1fc 100644
--- a/lib/RT/IR/Test/Web.pm
+++ b/lib/RT/IR/Test/Web.pm
@@ -90,7 +90,7 @@ sub create_rtir_ticket_ok {
local $Test::Builder::Level = $Test::Builder::Level + 2;
my $id = $self->create_rtir_ticket( $queue, @_ );
- Test::More::ok( $id, "Created ticket #$id in queue '$queue' successfully." );
+ Test::More::ok( $id, "Created ticket $id in queue '$queue' successfully." );
return $id;
}
@@ -172,7 +172,7 @@ sub display_ticket {
my $self = shift;
my $id = shift;
- return $self->get_ok("/RTIR/Display.html?id=$id", "Loaded Display page for Ticket #$id");
+ return $self->get_ok("/RTIR/Display.html?id=$id", "Loaded Display page for Ticket $id");
}
sub ticket_is_linked_to_inc {
@@ -181,7 +181,7 @@ sub ticket_is_linked_to_inc {
my $incs = shift;
$self->display_ticket( $id );
foreach my $inc( ref $incs? @$incs : ($incs) ) {
- my $desc = shift || "Ticket #$id is linked to the Incident #$inc";
+ my $desc = shift || "Ticket $id is linked to the Incident #$inc";
$self->content_like(
qr{Incident:\s*</td>\s*<td[^>]*?>.*?<td[^>]*?><b><a\s+href="/RTIR/Incident/Display.html\?id=\Q$inc\E">\Q$inc\E</a></b></td>}ism,
$desc
@@ -196,7 +196,7 @@ sub ticket_is_not_linked_to_inc {
my $incs = shift;
$self->display_ticket( $id );
foreach my $inc( @$incs ) {
- my $desc = shift || "Ticket #$id is not linked to the Incident #$inc";
+ my $desc = shift || "Ticket $id is not linked to the Incident #$inc";
$self->content_unlike(
qr{Incident:\s*</td>\s*<td[^>]*?>.*?<a\s+href="/RTIR/Display.html\?id=\Q$inc\E">\Q$inc\E:\s+}ism,
$desc
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list