[Rt-commit] r19929 - rt/3.999/trunk/t/mail
sartak at bestpractical.com
sartak at bestpractical.com
Sat Jun 6 05:50:19 EDT 2009
Author: sartak
Date: Sat Jun 6 05:50:18 2009
New Revision: 19929
Modified:
rt/3.999/trunk/t/mail/gnupg-incoming.t
Log:
Fix more uses of $RT::rtname
Modified: rt/3.999/trunk/t/mail/gnupg-incoming.t
==============================================================================
--- rt/3.999/trunk/t/mail/gnupg-incoming.t (original)
+++ rt/3.999/trunk/t/mail/gnupg-incoming.t Sat Jun 6 05:50:18 2009
@@ -60,9 +60,10 @@
# 1. the queue requires signature
# 2. the from is not what the key is associated with
my $mail = RT::Test->open_mailgate_ok($baseurl);
+my $rtname = RT->config->get('rtname');
print $mail <<EOF;
From: recipient\@example.com
-To: general\@$RT::rtname
+To: general\@$rtname
Subject: This is a test of new ticket creation as root
Blah!
@@ -103,7 +104,7 @@
$mail = RT::Test->open_mailgate_ok($baseurl);
print $mail <<"EOF";
From: recipient\@example.com
-To: general\@$RT::rtname
+To: general\@$rtname
Subject: signed message for queue
$buf
@@ -145,7 +146,7 @@
$mail = RT::Test->open_mailgate_ok($baseurl);
print $mail <<"EOF";
From: recipient\@example.com
-To: general\@$RT::rtname
+To: general\@$rtname
Subject: signed message for queue
$buf
@@ -187,7 +188,7 @@
$mail = RT::Test->open_mailgate_ok($baseurl);
print $mail <<"EOF";
From: recipient\@example.com
-To: general\@$RT::rtname
+To: general\@$rtname
Subject: Encrypted message for queue
$buf
@@ -235,7 +236,7 @@
$mail = RT::Test->open_mailgate_ok($baseurl);
print $mail <<"EOF";
From: recipient\@example.com
-To: general\@$RT::rtname
+To: general\@$rtname
Subject: encrypted message for queue
$buf
@@ -270,7 +271,7 @@
$mail = RT::Test->open_mailgate_ok($baseurl);
print $mail <<"EOF";
From: recipient\@example.com
-To: general\@$RT::rtname
+To: general\@$rtname
Subject: encrypted message for queue
$buf
@@ -311,7 +312,7 @@
$mail = RT::Test->open_mailgate_ok($baseurl);
print $mail <<"EOF";
From: recipient\@example.com
-To: general\@$RT::rtname
+To: general\@$rtname
Subject: encrypted message for queue
$buf
More information about the Rt-commit
mailing list