[Rt-commit] rt branch, 4.0/remove-unnecessary-testservers, created. rt-4.0.1-297-g487c3cc
Alex Vandiver
alexmv at bestpractical.com
Tue Aug 9 13:40:36 EDT 2011
The branch, 4.0/remove-unnecessary-testservers has been created
at 487c3cc956dcfd77e16775e1cf17923fbc0e8f19 (commit)
- Log -----------------------------------------------------------------
commit 487c3cc956dcfd77e16775e1cf17923fbc0e8f19
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Aug 9 13:40:16 2011 -0400
Remove unnecessary RT::Test->started_ok commands from test scripts
As the server takes a second to start up, this reduces the running time
of the test suite a bit.
diff --git a/t/mail/extractsubjecttag.t b/t/mail/extractsubjecttag.t
index c9f4615..e76da6f 100644
--- a/t/mail/extractsubjecttag.t
+++ b/t/mail/extractsubjecttag.t
@@ -3,10 +3,7 @@ use strict;
use warnings;
use utf8;
-use RT::Test tests => 16;
-
-
-my ($baseurl, $m) = RT::Test->started_ok;
+use RT::Test tests => 13;
my $queue = RT::Test->load_or_create_queue(
Name => 'Regression',
diff --git a/t/mail/multipart.t b/t/mail/multipart.t
index c37fb6a..a68710a 100644
--- a/t/mail/multipart.t
+++ b/t/mail/multipart.t
@@ -49,9 +49,8 @@
use strict;
use warnings;
-use RT::Test tests => 7;
+use RT::Test tests => 4;
use RT::Test::Email;
-my ($baseurl, $m) = RT::Test->started_ok;
my $queue = RT::Test->load_or_create_queue( Name => 'General' );
my $user = RT::Test->load_or_create_user( Name => 'bob', EmailAddress => 'bob at example.com' );
diff --git a/t/mail/outlook.t b/t/mail/outlook.t
index 4a566a1..00bbc94 100644
--- a/t/mail/outlook.t
+++ b/t/mail/outlook.t
@@ -56,8 +56,8 @@ rt-mailgate - Mail interface to RT3.
use strict;
use warnings;
-use RT::Test tests => 45;
-my ($baseurl, $m) = RT::Test->started_ok;
+use RT::Test tests => 42;
+
# 12.0 is outlook 2007, 14.0 is 2010
for my $mailer ( 'Microsoft Office Outlook 12.0', 'Microsoft Outlook 14.0' ) {
diag "Test mail with multipart/alternative";
diff --git a/t/mail/rfc822-attachment.t b/t/mail/rfc822-attachment.t
index cfac8ba..f498ec5 100644
--- a/t/mail/rfc822-attachment.t
+++ b/t/mail/rfc822-attachment.t
@@ -2,7 +2,6 @@ use strict;
use warnings;
use RT::Test tests => undef;
-my ($baseurl, $m) = RT::Test->started_ok;
use MIME::Entity;
@@ -134,6 +133,5 @@ sub headers_like {
}
}
-undef $m;
done_testing;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list