[Rt-commit] r8321 - rt/branches/3.7-EXPERIMENTAL-TUNIS/t/mail

ruz at bestpractical.com ruz at bestpractical.com
Mon Jul 30 16:21:28 EDT 2007


Author: ruz
Date: Mon Jul 30 16:21:28 2007
New Revision: 8321

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/t/mail/gateway.t

Log:
* use rt_base_url

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/mail/gateway.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/t/mail/gateway.t	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/mail/gateway.t	Mon Jul 30 16:21:28 2007
@@ -71,7 +71,7 @@
 
 require "lib/t/utils.pl";
 
-my $url = join( ':', grep $_, "http://localhost", RT->Config->Get('WebPort') ) . RT->Config->Get('WebPath') ."/";
+my $url = $m->rt_base_url;
 
 sub latest_ticket {
     my $tickets = RT::Tickets->new( $RT::SystemUser );


More information about the Rt-commit mailing list