[Rt-commit] rt branch, 4.0/on-forward-conditions, updated. rt-4.0.1-201-g920ad95

Jason May jasonmay at bestpractical.com
Mon Aug 29 09:48:33 EDT 2011


The branch, 4.0/on-forward-conditions has been updated
       via  920ad95127898906b620cbd4d93912d85d3e574f (commit)
      from  6d752ddac80a8350a6f68cc580de39ab575235db (commit)

Summary of changes:
 t/web/scrips.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 920ad95127898906b620cbd4d93912d85d3e574f
Author: Jason May <jasonmay at bestpractical.com>
Date:   Mon Aug 29 09:48:22 2011 -0400

    Use goto_ticket instead of going to the ticket URL by hand

diff --git a/t/web/scrips.t b/t/web/scrips.t
index fae47d2..dca7ae2 100644
--- a/t/web/scrips.t
+++ b/t/web/scrips.t
@@ -67,7 +67,7 @@ sub prepare_code_with_value {
         Queue   => 1,
     );
     my $ticket = $ticket_obj->id;
-    $m->get("$baseurl/Ticket/Display.html?id=$ticket");
+    $m->goto_ticket($ticket);
 
     $m->follow_link_ok(
         { id => 'page-actions-forward' },

-----------------------------------------------------------------------


More information about the Rt-commit mailing list