[Rt-commit] r14186 - in rtir/branches/2.3-TESTING/t: constituency mail

ruz at bestpractical.com ruz at bestpractical.com
Wed Jul 16 19:43:48 EDT 2008


Author: ruz
Date: Wed Jul 16 19:43:48 2008
New Revision: 14186

Modified:
   rtir/branches/2.3-TESTING/t/021-gnupg-on-create.t
   rtir/branches/2.3-TESTING/t/022-gnupg-on-update.t
   rtir/branches/2.3-TESTING/t/023-gnupg-on-incident.t
   rtir/branches/2.3-TESTING/t/constituency/email_outgoing.t
   rtir/branches/2.3-TESTING/t/mail/skip_notification.t

Log:
* use Plugins

Modified: rtir/branches/2.3-TESTING/t/021-gnupg-on-create.t
==============================================================================
--- rtir/branches/2.3-TESTING/t/021-gnupg-on-create.t	(original)
+++ rtir/branches/2.3-TESTING/t/021-gnupg-on-create.t	Wed Jul 16 19:43:48 2008
@@ -42,6 +42,9 @@
 
 RT->Config->Set( 'MailPlugins' => 'Auth::MailFrom', 'Auth::GnuPG' );
 
+RT->Config->Set( Plugins => 'RT::FM', 'RT::IR' );
+RT::InitPlugins();
+
 my $queue = RT::Test->load_or_create_queue(
     Name              => 'Incident Reports',
     CorrespondAddress => 'rt-recipient at example.com',

Modified: rtir/branches/2.3-TESTING/t/022-gnupg-on-update.t
==============================================================================
--- rtir/branches/2.3-TESTING/t/022-gnupg-on-update.t	(original)
+++ rtir/branches/2.3-TESTING/t/022-gnupg-on-update.t	Wed Jul 16 19:43:48 2008
@@ -42,6 +42,9 @@
 
 RT->Config->Set( 'MailPlugins' => 'Auth::MailFrom', 'Auth::GnuPG' );
 
+RT->Config->Set( Plugins => 'RT::FM', 'RT::IR' );
+RT::InitPlugins();
+
 my $queue = RT::Test->load_or_create_queue(
     Name              => 'Incident Reports',
     CorrespondAddress => 'rt-recipient at example.com',

Modified: rtir/branches/2.3-TESTING/t/023-gnupg-on-incident.t
==============================================================================
--- rtir/branches/2.3-TESTING/t/023-gnupg-on-incident.t	(original)
+++ rtir/branches/2.3-TESTING/t/023-gnupg-on-incident.t	Wed Jul 16 19:43:48 2008
@@ -44,6 +44,9 @@
 
 RT->Config->Set( 'MailPlugins' => 'Auth::MailFrom', 'Auth::GnuPG' );
 
+RT->Config->Set( 'Plugins' => 'RT::FM', 'RT::IR' );
+RT::InitPlugins();
+
 my $queue = RT::Test->load_or_create_queue(
     Name              => 'Incident Reports',
     CorrespondAddress => 'rt-recipient at example.com',

Modified: rtir/branches/2.3-TESTING/t/constituency/email_outgoing.t
==============================================================================
--- rtir/branches/2.3-TESTING/t/constituency/email_outgoing.t	(original)
+++ rtir/branches/2.3-TESTING/t/constituency/email_outgoing.t	Wed Jul 16 19:43:48 2008
@@ -9,6 +9,10 @@
 require RT::Test; import RT::Test;
 require "t/rtir-test.pl";
 
+RT->Config->Set( 'Plugins' => 'RT::FM', 'RT::IR' );
+RT::InitPlugins();
+
+
 {
     $RT::Handle->InsertSchema(undef, '/opt/rt3/local/etc/FM');
     $RT::Handle->InsertACL(undef, '/opt/rt3/local/etc/FM');

Modified: rtir/branches/2.3-TESTING/t/mail/skip_notification.t
==============================================================================
--- rtir/branches/2.3-TESTING/t/mail/skip_notification.t	(original)
+++ rtir/branches/2.3-TESTING/t/mail/skip_notification.t	Wed Jul 16 19:43:48 2008
@@ -29,6 +29,9 @@
 
 RT->Config->Set( '_RTIR_Constituency_default' => 'EDUNET' );
 
+RT->Config->Set( 'Plugins' => 'RT::FM', 'RT::IR' );
+RT::InitPlugins();
+
 RT::Test->set_mail_catcher;
 
 my ($baseurl, $agent) = RT::Test->started_ok;


More information about the Rt-commit mailing list