[Rt-commit] r19928 - rt/3.999/trunk/t/mail

sartak at bestpractical.com sartak at bestpractical.com
Sat Jun 6 05:17:32 EDT 2009


Author: sartak
Date: Sat Jun  6 05:17:32 2009
New Revision: 19928

Modified:
   rt/3.999/trunk/t/mail/gateway.t

Log:
More $RT::rtname fixes

Modified: rt/3.999/trunk/t/mail/gateway.t
==============================================================================
--- rt/3.999/trunk/t/mail/gateway.t	(original)
+++ rt/3.999/trunk/t/mail/gateway.t	Sat Jun  6 05:17:32 2009
@@ -672,7 +672,8 @@
 $txns->order_by( column => 'id', order => 'DESC' );
 # +1 because of auto open
 is( $tick->transactions->count, 6, 'no superfluous transactions');
-is( $txns->first->subject, "[$RT::rtname \#$id] correspondence", 'successfuly add correspond within take via email' );
+my $rtname = RT->config->get('rtname');
+is( $txns->first->subject, "[$rtname \#$id] correspondence", 'successfuly add correspond within take via email' );
 
 $mail = RT::Test->open_mailgate_ok($baseurl);
 print $mail <<EOF;


More information about the Rt-commit mailing list