[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-150-gc741116
sartak at bestpractical.com
sartak at bestpractical.com
Tue Sep 29 13:52:43 EDT 2009
The branch, 3.8-trunk has been updated
via c741116ebdd8e227cfd4c05e716a5a2a8fd86c07 (commit)
from f29334d51880921f74597d09d5179dd7e2997c92 (commit)
Summary of changes:
t/shredder/00load.t | 3 ++-
t/shredder/00skeleton.t | 3 ++-
t/shredder/01basics.t | 3 ++-
t/shredder/01ticket.t | 3 ++-
t/shredder/02group_member.t | 3 ++-
t/shredder/02queue.t | 3 ++-
t/shredder/02template.t | 3 ++-
t/shredder/02user.t | 3 ++-
t/shredder/03plugin.t | 3 ++-
t/shredder/03plugin_summary.t | 3 ++-
t/shredder/03plugin_tickets.t | 3 ++-
t/shredder/03plugin_users.t | 3 ++-
12 files changed, 24 insertions(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit c741116ebdd8e227cfd4c05e716a5a2a8fd86c07
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Sep 29 13:51:13 2009 -0400
Use Test::More instead of RT::Test
RT::Test clobbers database settings, and shredder really needs to
use SQLite. In the future we may be more clever with making RT::Test
pay attention to the test's database wishes.
diff --git a/t/shredder/00load.t b/t/shredder/00load.t
index d8f2e0c..1e06261 100644
--- a/t/shredder/00load.t
+++ b/t/shredder/00load.t
@@ -1,7 +1,8 @@
use strict;
use warnings;
use File::Spec;
-use RT::Test tests => 11;
+use Test::More tests => 11;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
diff --git a/t/shredder/00skeleton.t b/t/shredder/00skeleton.t
index 5358df9..eab9433 100644
--- a/t/shredder/00skeleton.t
+++ b/t/shredder/00skeleton.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 1;
+use Test::More tests => 1;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/01basics.t b/t/shredder/01basics.t
index b11e030..450f2df 100644
--- a/t/shredder/01basics.t
+++ b/t/shredder/01basics.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 3;
+use Test::More tests => 3;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/01ticket.t b/t/shredder/01ticket.t
index 71ebca9..5625b98 100644
--- a/t/shredder/01ticket.t
+++ b/t/shredder/01ticket.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 15;
+use Test::More tests => 15;
+use RT::Test ();
BEGIN {
diff --git a/t/shredder/02group_member.t b/t/shredder/02group_member.t
index 7def129..b68557a 100644
--- a/t/shredder/02group_member.t
+++ b/t/shredder/02group_member.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 22;
+use Test::More tests => 22;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/02queue.t b/t/shredder/02queue.t
index cdd0e58..197cf63 100644
--- a/t/shredder/02queue.t
+++ b/t/shredder/02queue.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 16;
+use Test::More tests => 16;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/02template.t b/t/shredder/02template.t
index f63a665..d4c323e 100644
--- a/t/shredder/02template.t
+++ b/t/shredder/02template.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 7;
+use Test::More tests => 7;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/02user.t b/t/shredder/02user.t
index 7eb8c4e..03abd6c 100644
--- a/t/shredder/02user.t
+++ b/t/shredder/02user.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 8;
+use Test::More tests => 8;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/03plugin.t b/t/shredder/03plugin.t
index cf8e79e..190f40a 100644
--- a/t/shredder/03plugin.t
+++ b/t/shredder/03plugin.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 28;
+use Test::More tests => 28;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/03plugin_summary.t b/t/shredder/03plugin_summary.t
index 637d32b..30606af 100644
--- a/t/shredder/03plugin_summary.t
+++ b/t/shredder/03plugin_summary.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 4;
+use Test::More tests => 4;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/03plugin_tickets.t b/t/shredder/03plugin_tickets.t
index a12d208..3d742ff 100644
--- a/t/shredder/03plugin_tickets.t
+++ b/t/shredder/03plugin_tickets.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 44;
+use Test::More tests => 44;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/shredder/03plugin_users.t b/t/shredder/03plugin_users.t
index f8b461f..45fc8a2 100644
--- a/t/shredder/03plugin_users.t
+++ b/t/shredder/03plugin_users.t
@@ -5,7 +5,8 @@ use warnings;
use Test::Deep;
use File::Spec;
-use RT::Test tests => 9;
+use Test::More tests => 9;
+use RT::Test ();
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list