[Rt-commit] r7658 - rtir/branches/2.3-EXPERIMENTAL/t
clkao at bestpractical.com
clkao at bestpractical.com
Tue Apr 24 02:21:40 EDT 2007
Author: clkao
Date: Tue Apr 24 02:21:40 2007
New Revision: 7658
Modified:
rtir/branches/2.3-EXPERIMENTAL/t/014-custom-field-constituency.t
Log:
document config requirement to get this test passed.
Modified: rtir/branches/2.3-EXPERIMENTAL/t/014-custom-field-constituency.t
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/t/014-custom-field-constituency.t (original)
+++ rtir/branches/2.3-EXPERIMENTAL/t/014-custom-field-constituency.t Tue Apr 24 02:21:40 2007
@@ -3,9 +3,13 @@
use strict;
use warnings;
use Test::More tests => 182;
+no warnings 'once';
require "t/rtir-test.pl";
+# Test must be run wtih RT_SiteConfig:
+# Set(@MailPlugins, 'Auth::MailFrom');
+
use_ok('RT');
RT::LoadConfig();
RT::Init();
@@ -337,6 +341,7 @@
diag "govhandler replies to the incident report" if $ENV{'TEST_VERBOSE'};
$ticket_as_gov->Correspond(Content => 'Testing 2');
diag "reply comes from the GOVNET queue address" if $ENV{'TEST_VERBOSE'};
+{
my $txns = $ticket->Transactions;
my $from;
while (my $txn = $txns->Next) {
@@ -345,3 +350,4 @@
}
ok($from =~ /govnet/, "The from address pciked up the gov address");
+}
More information about the Rt-commit
mailing list