[Rt-commit] [rtir] 02/08: We now print users with ShowUser

Kevin Falcone falcone at bestpractical.com
Fri Apr 18 21:20:53 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 3.2/test-fixes
in repository rtir.

commit 3b4a3fe738b331ed3bbac30b5e593aae1964c8d4
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Apr 16 17:13:18 2014 -0400

    We now print users with ShowUser
    
    This means a link to the user summary and more annoyingly, we show email
    addresses, so &; are needed to match the < in the user info.
    (parsing html with regexes)--
---
 lib/RT/IR/Test/Web.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/RT/IR/Test/Web.pm b/lib/RT/IR/Test/Web.pm
index 2453dfa..0339f10 100644
--- a/lib/RT/IR/Test/Web.pm
+++ b/lib/RT/IR/Test/Web.pm
@@ -358,7 +358,7 @@ sub has_watchers {
     $self->display_ticket($id);
 
     $self->content_like(
-qr{<td class="labeltop">Correspondents:</td>\s*<td class="value">\s*([@\w\.]+)\s*<br />}ms,
+qr{<td class="labeltop">Correspondents:</td>\s*<td class="value">\s*<span class="user" data-user-id="\d+">\s*<a href="/User/Summary\.html\?id=\d+">\s*([@\w\.&;]+)\s*</a></span>}ms,
         "Found $type",
     );
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list