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

sartak at bestpractical.com sartak at bestpractical.com
Sat Jun 6 05:13:30 EDT 2009


Author: sartak
Date: Sat Jun  6 05:13:30 2009
New Revision: 19925

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

Log:
Fix usage of old config

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:13:30 2009
@@ -210,9 +210,11 @@
 
 diag "Test new ticket creation without --action argument" if $ENV{'TEST_VERBOSE'};
 {
+    my $rtname = RT->config->get('rtname');
+
     my $text = <<EOF;
 From: root\@localhost
-To: rt\@$RT::rtname
+To: rt\@$rtname
 Subject: using mailgate without --action arg
 
 Blah!


More information about the Rt-commit mailing list