[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-562-gce4a4bd
Chia-liang Kao
clkao at bestpractical.com
Wed Aug 25 08:43:48 EDT 2010
The branch, 3.9-trunk has been updated
via ce4a4bd86c9aeaa0ee1cc830bd36a8cf8e097b74 (commit)
from c3c877c64337c09a6c518d28f8db1499f84782e9 (commit)
Summary of changes:
lib/RT/Test.pm | 8 ++++++++
t/api/ace.t | 2 +-
t/api/attachment.t | 2 +-
t/api/attribute-tests.t | 2 +-
t/api/attribute.t | 2 +-
t/api/cf.t | 2 +-
t/api/cf_combo_cascade.t | 2 +-
t/api/cf_date_search.t | 2 +-
t/api/cf_datetime_search.t | 2 +-
t/api/cf_pattern.t | 2 +-
t/api/cf_single_values.t | 2 +-
t/api/cf_transaction.t | 2 +-
t/api/config.t | 2 +-
t/api/currentuser.t | 2 +-
t/api/customfield.t | 2 +-
t/api/emailparser.t | 2 +-
t/api/group.t | 2 +-
t/api/groups.t | 2 +-
t/api/link.t | 4 ++--
t/api/rights.t | 2 +-
t/api/rights_show_ticket.t | 2 +-
t/api/rt.t | 2 +-
t/api/system.t | 2 +-
t/clicky.t | 2 +-
t/cron.t | 2 +-
t/customfields/access_via_queue.t | 2 +-
t/delegation/cleanup_stalled.t | 2 +-
t/delegation/revocation.t | 2 +-
t/i18n/default.t | 2 +-
t/mail/verp.t | 2 +-
t/shredder/00load.t | 2 +-
t/shredder/00skeleton.t | 2 +-
t/shredder/01basics.t | 2 +-
t/shredder/01ticket.t | 2 +-
t/shredder/02group_member.t | 2 +-
t/shredder/02queue.t | 2 +-
t/shredder/02template.t | 2 +-
t/shredder/02user.t | 2 +-
t/shredder/03plugin.t | 2 +-
t/shredder/03plugin_summary.t | 2 +-
t/shredder/03plugin_tickets.t | 2 +-
t/shredder/03plugin_users.t | 2 +-
t/ticket/add-watchers.t | 2 +-
t/ticket/cfsort-freeform-multiple.t | 2 +-
t/ticket/cfsort-freeform-single.t | 2 +-
t/ticket/deferred_owner.t | 2 +-
t/ticket/search.t | 2 +-
t/ticket/search_by_cf_freeform_multiple.t | 2 +-
t/ticket/search_by_cf_freeform_single.t | 2 +-
t/ticket/search_by_links.t | 2 +-
t/ticket/search_by_watcher.t | 2 +-
t/ticket/search_long_cf_values.t | 2 +-
t/ticket/sort-by-custom-ownership.t | 2 +-
t/ticket/sort-by-queue.t | 2 +-
t/ticket/sort-by-user.t | 2 +-
t/ticket/sort_by_cf.t | 2 +-
t/web/config_tab_right.t | 2 +-
t/web/dashboards-groups.t | 2 +-
t/web/dashboards-permissions.t | 2 +-
t/web/rights1.t | 2 +-
t/web/ticket_owner.t | 2 +-
t/web/ticket_owner_autocomplete.t | 2 +-
t/web/ticket_seen.t | 2 +-
63 files changed, 71 insertions(+), 63 deletions(-)
- Log -----------------------------------------------------------------
commit ce4a4bd86c9aeaa0ee1cc830bd36a8cf8e097b74
Author: Chia-liang Kao <clkao at bestpractical.com>
Date: Wed Aug 25 20:45:53 2010 +0800
avoid creating db or inserting initialdata for tests that don't need them
diff --git a/lib/RT/Test.pm b/lib/RT/Test.pm
index e4ea967..9acad53 100644
--- a/lib/RT/Test.pm
+++ b/lib/RT/Test.pm
@@ -352,10 +352,18 @@ sub bootstrap_db {
RT::Handle->DropDatabase( $dbh, Force => 1 );
}
+ if (my $forceopt = $ENV{RT_TEST_FORCE_OPT}) {
+ Test::More::diag "forcing $forceopt";
+ $args{$forceopt}=1;
+ }
+
if ($args{nodb}) {
$args{noinitialdata} = 1;
$args{nodata} = 1;
}
+ elsif ($args{noinitialdata}) {
+ $args{nodata} = 1;
+ }
unless ($args{nodb}) {
RT::Handle->CreateDatabase( $dbh );
diff --git a/t/api/ace.t b/t/api/ace.t
index 4031046..8898d76 100644
--- a/t/api/ace.t
+++ b/t/api/ace.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 76;
+use RT::Test nodata => 1, tests => 76;
{
diff --git a/t/api/attachment.t b/t/api/attachment.t
index 07c46ba..c6ab366 100644
--- a/t/api/attachment.t
+++ b/t/api/attachment.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 4;
+use RT::Test nodb => 1, tests => 4;
{
diff --git a/t/api/attribute-tests.t b/t/api/attribute-tests.t
index 90c3ddb..71250a8 100644
--- a/t/api/attribute-tests.t
+++ b/t/api/attribute-tests.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 34;
+use RT::Test nodata => 1, tests => 34;
diff --git a/t/api/attribute.t b/t/api/attribute.t
index cb2626a..0f0d456 100644
--- a/t/api/attribute.t
+++ b/t/api/attribute.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 7;
+use RT::Test nodata => 1, tests => 7;
{
diff --git a/t/api/cf.t b/t/api/cf.t
index 98114c9..b82643e 100644
--- a/t/api/cf.t
+++ b/t/api/cf.t
@@ -3,7 +3,7 @@
use strict;
use warnings FATAL => 'all';
-use RT::Test tests => 139;
+use RT::Test nodata => 1, tests => 139;
# Before we get going, ditch all object_cfs; this will remove
# all custom fields systemwide;
diff --git a/t/api/cf_combo_cascade.t b/t/api/cf_combo_cascade.t
index b37345a..ce5e074 100644
--- a/t/api/cf_combo_cascade.t
+++ b/t/api/cf_combo_cascade.t
@@ -2,7 +2,7 @@
use warnings;
use strict;
-use RT::Test tests => 11;
+use RT::Test nodata => 1, tests => 11;
sub fails { ok(!$_[0], "This should fail: $_[1]") }
sub works { ok($_[0], $_[1] || 'This works') }
diff --git a/t/api/cf_date_search.t b/t/api/cf_date_search.t
index 15abd70..aea2925 100644
--- a/t/api/cf_date_search.t
+++ b/t/api/cf_date_search.t
@@ -3,7 +3,7 @@
use warnings;
use strict;
-use RT::Test tests => 13;
+use RT::Test nodata => 1, tests => 13;
my $q = RT::Queue->new($RT::SystemUser);
ok( $q->Create( Name => 'DateCFTest' . $$ ), 'create queue' );
diff --git a/t/api/cf_datetime_search.t b/t/api/cf_datetime_search.t
index d0884f4..44582e1 100644
--- a/t/api/cf_datetime_search.t
+++ b/t/api/cf_datetime_search.t
@@ -3,7 +3,7 @@
use warnings;
use strict;
-use RT::Test tests => 14;
+use RT::Test nodata => 1, tests => 14;
RT->Config->Set( 'Timezone' => 'EST5EDT' ); # -04:00
my $q = RT::Queue->new($RT::SystemUser);
diff --git a/t/api/cf_pattern.t b/t/api/cf_pattern.t
index ffc5b3f..cf791bc 100644
--- a/t/api/cf_pattern.t
+++ b/t/api/cf_pattern.t
@@ -3,7 +3,7 @@ use warnings;
use strict;
use RT;
-use RT::Test tests => 17;
+use RT::Test nodata => 1, tests => 17;
sub fails { ok(!$_[0], "This should fail: $_[1]") }
diff --git a/t/api/cf_single_values.t b/t/api/cf_single_values.t
index 8e96edd..4beb293 100644
--- a/t/api/cf_single_values.t
+++ b/t/api/cf_single_values.t
@@ -3,7 +3,7 @@ use warnings;
use strict;
use RT;
-use RT::Test tests => 8;
+use RT::Test nodata => 1, tests => 8;
diff --git a/t/api/cf_transaction.t b/t/api/cf_transaction.t
index 1ed2ab9..589151f 100644
--- a/t/api/cf_transaction.t
+++ b/t/api/cf_transaction.t
@@ -4,7 +4,7 @@ use warnings;
use strict;
use Data::Dumper;
-use RT::Test tests => 14;
+use RT::Test nodata => 1, tests => 14;
use_ok('RT');
use_ok('RT::Transactions');
diff --git a/t/api/config.t b/t/api/config.t
index 8e24be0..a986c3c 100644
--- a/t/api/config.t
+++ b/t/api/config.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 9;
+use RT::Test nodb => 1, tests => 9;
ok(
RT::Config->AddOption(
diff --git a/t/api/currentuser.t b/t/api/currentuser.t
index c158048..c568b0e 100644
--- a/t/api/currentuser.t
+++ b/t/api/currentuser.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 8;
+use RT::Test noinitialdata => 1, tests => 8;
{
diff --git a/t/api/customfield.t b/t/api/customfield.t
index 44319c4..2347d61 100644
--- a/t/api/customfield.t
+++ b/t/api/customfield.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 29;
+use RT::Test nodata => 1, tests => 29;
use Test::Warn;
diff --git a/t/api/emailparser.t b/t/api/emailparser.t
index 940c26f..18826fe 100644
--- a/t/api/emailparser.t
+++ b/t/api/emailparser.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use RT::Test tests => 4;
+use RT::Test nodb => 1, tests => 4;
RT->Config->Set( RTAddressRegexp => qr/^rt\@example.com$/i );
diff --git a/t/api/group.t b/t/api/group.t
index 551d4f1..19dfd34 100644
--- a/t/api/group.t
+++ b/t/api/group.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 38;
+use RT::Test nodata => 1, tests => 38;
{
diff --git a/t/api/groups.t b/t/api/groups.t
index 9a482f5..f83468c 100644
--- a/t/api/groups.t
+++ b/t/api/groups.t
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use RT::Test tests => 27;
+use RT::Test nodata => 1, tests => 27;
RT::Group->AddRights(
'RTxGroupRight' => 'Just a right for testing rights',
diff --git a/t/api/link.t b/t/api/link.t
index 232dbd9..4bb84a0 100644
--- a/t/api/link.t
+++ b/t/api/link.t
@@ -2,8 +2,8 @@
use strict;
use warnings;
-use RT::Test tests => 83;
-use RT::Test::Web;
+use RT::Test nodata => 1, tests => 83;
+use RT::Test nodata => 1, tests => 83;
use RT::Link;
my $link = RT::Link->new($RT::SystemUser);
diff --git a/t/api/rights.t b/t/api/rights.t
index a38bcea..b9f742a 100644
--- a/t/api/rights.t
+++ b/t/api/rights.t
@@ -47,7 +47,7 @@
#
# END BPS TAGGED BLOCK }}}
-use RT::Test tests => 30;
+use RT::Test nodata => 1, tests => 30;
use strict;
use warnings;
diff --git a/t/api/rights_show_ticket.t b/t/api/rights_show_ticket.t
index 3e1d074..4d4474e 100644
--- a/t/api/rights_show_ticket.t
+++ b/t/api/rights_show_ticket.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-use RT::Test tests => 264;
+use RT::Test nodata => 1, tests => 264;
use strict;
use warnings;
diff --git a/t/api/rt.t b/t/api/rt.t
index 3c06b58..4081a4f 100644
--- a/t/api/rt.t
+++ b/t/api/rt.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 4;
+use RT::Test nodata => 1, tests => 4;
{
diff --git a/t/api/system.t b/t/api/system.t
index 3077115..1979032 100644
--- a/t/api/system.t
+++ b/t/api/system.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 7;
+use RT::Test nodata => 1, tests => 7;
{
diff --git a/t/clicky.t b/t/clicky.t
index 9baa2af..0f16db6 100644
--- a/t/clicky.t
+++ b/t/clicky.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
use Test::More;
-use RT::Test tests => 14;
+use RT::Test nodb => 1, tests => 14;
my %clicky;
BEGIN {
diff --git a/t/cron.t b/t/cron.t
index 29d7bd7..e28896f 100644
--- a/t/cron.t
+++ b/t/cron.t
@@ -3,7 +3,7 @@
use strict;
use RT;
-use RT::Test tests => 18;
+use RT::Test nodata => 1, tests => 18;
### Set up some testing data. Test the testing data because why not?
diff --git a/t/customfields/access_via_queue.t b/t/customfields/access_via_queue.t
index f372f31..2c442bf 100644
--- a/t/customfields/access_via_queue.t
+++ b/t/customfields/access_via_queue.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 35;
+use RT::Test nodata => 1, tests => 35;
use RT::Ticket;
use RT::CustomField;
diff --git a/t/delegation/cleanup_stalled.t b/t/delegation/cleanup_stalled.t
index f108ecc..750576d 100644
--- a/t/delegation/cleanup_stalled.t
+++ b/t/delegation/cleanup_stalled.t
@@ -15,7 +15,7 @@ use warnings;
use RT;
-use RT::Test tests => 98;
+use RT::Test nodata => 1, tests => 98;
my ($u1, $u2, $g1, $g2, $g3, $pg1, $pg2, $ace, @groups, @users, @principals);
@groups = (\$g1, \$g2, \$g3, \$pg1, \$pg2);
diff --git a/t/delegation/revocation.t b/t/delegation/revocation.t
index 151525e..2cde33c 100644
--- a/t/delegation/revocation.t
+++ b/t/delegation/revocation.t
@@ -5,7 +5,7 @@ use warnings;
use RT;
-use RT::Test tests => 22;
+use RT::Test nodata => 1, tests => 22;
my ($u1, $g1, $pg1, $pg2, $ace, @groups, @users, @principals);
@groups = (\$g1, \$pg1, \$pg2);
diff --git a/t/i18n/default.t b/t/i18n/default.t
index 6c9842a..d580f97 100644
--- a/t/i18n/default.t
+++ b/t/i18n/default.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use RT::Test tests => 8;
+use RT::Test nodb => 1, tests => 8;
my ($baseurl, $m) = RT::Test->started_ok;
$m->get_ok('/');
diff --git a/t/mail/verp.t b/t/mail/verp.t
index 79ede90..ed3af6a 100644
--- a/t/mail/verp.t
+++ b/t/mail/verp.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-use RT::Test tests => 1;
+use RT::Test nodb => 1, tests => 1;
TODO: {
todo_skip "No tests written for VERP yet", 1;
ok(1,"a test to skip");
diff --git a/t/shredder/00load.t b/t/shredder/00load.t
index 1e06261..21d5ef7 100644
--- a/t/shredder/00load.t
+++ b/t/shredder/00load.t
@@ -2,7 +2,7 @@ use strict;
use warnings;
use File::Spec;
use Test::More tests => 11;
-use RT::Test ();
+use RT::Test nodb => 1;
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
diff --git a/t/shredder/00skeleton.t b/t/shredder/00skeleton.t
index eab9433..3592429 100644
--- a/t/shredder/00skeleton.t
+++ b/t/shredder/00skeleton.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 1;
-use RT::Test ();
+use RT::Test nodb => 1;
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 450f2df..069b96f 100644
--- a/t/shredder/01basics.t
+++ b/t/shredder/01basics.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 3;
-use RT::Test ();
+use RT::Test nodb => 1;
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 5625b98..8052e7c 100644
--- a/t/shredder/01ticket.t
+++ b/t/shredder/01ticket.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 15;
-use RT::Test ();
+use RT::Test nodb => 1;
BEGIN {
diff --git a/t/shredder/02group_member.t b/t/shredder/02group_member.t
index c391f74..d6815f4 100644
--- a/t/shredder/02group_member.t
+++ b/t/shredder/02group_member.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 22;
-use RT::Test ();
+use RT::Test nodb => 1;
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 8e3abf3..ab7d541 100644
--- a/t/shredder/02queue.t
+++ b/t/shredder/02queue.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 16;
-use RT::Test ();
+use RT::Test nodb => 1;
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 14bda86..769a858 100644
--- a/t/shredder/02template.t
+++ b/t/shredder/02template.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 7;
-use RT::Test ();
+use RT::Test nodb => 1;
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 03abd6c..4745e2d 100644
--- a/t/shredder/02user.t
+++ b/t/shredder/02user.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 8;
-use RT::Test ();
+use RT::Test nodb => 1;
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 cf51e44..25b1222 100644
--- a/t/shredder/03plugin.t
+++ b/t/shredder/03plugin.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 28;
-use RT::Test ();
+use RT::Test nodb => 1;
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 606cd67..2744531 100644
--- a/t/shredder/03plugin_summary.t
+++ b/t/shredder/03plugin_summary.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 4;
-use RT::Test ();
+use RT::Test nodb => 1;
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 57ab0af..08bb15b 100644
--- a/t/shredder/03plugin_tickets.t
+++ b/t/shredder/03plugin_tickets.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 44;
-use RT::Test ();
+use RT::Test nodb => 1;
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 e49dd7b..4f4ecc8 100644
--- a/t/shredder/03plugin_users.t
+++ b/t/shredder/03plugin_users.t
@@ -6,7 +6,7 @@ use warnings;
use Test::Deep;
use File::Spec;
use Test::More tests => 9;
-use RT::Test ();
+use RT::Test nodb => 1;
BEGIN {
my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
File::Spec->curdir());
diff --git a/t/ticket/add-watchers.t b/t/ticket/add-watchers.t
index ae993a9..19b1fcb 100644
--- a/t/ticket/add-watchers.t
+++ b/t/ticket/add-watchers.t
@@ -45,7 +45,7 @@
#
# END BPS TAGGED BLOCK }}}
-use RT::Test tests => 32;
+use RT::Test nodata => 1, tests => 32;
use strict;
use warnings;
diff --git a/t/ticket/cfsort-freeform-multiple.t b/t/ticket/cfsort-freeform-multiple.t
index b5fd93b..b7bcc0a 100644
--- a/t/ticket/cfsort-freeform-multiple.t
+++ b/t/ticket/cfsort-freeform-multiple.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use RT::Test tests => 24;
+use RT::Test nodata => 1, tests => 24;
use strict;
use warnings;
diff --git a/t/ticket/cfsort-freeform-single.t b/t/ticket/cfsort-freeform-single.t
index 4bf3300..bae7707 100644
--- a/t/ticket/cfsort-freeform-single.t
+++ b/t/ticket/cfsort-freeform-single.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use RT::Test tests => 57;
+use RT::Test nodata => 1, tests => 57;
use strict;
use warnings;
diff --git a/t/ticket/deferred_owner.t b/t/ticket/deferred_owner.t
index 917bbcd..4b9cb02 100644
--- a/t/ticket/deferred_owner.t
+++ b/t/ticket/deferred_owner.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use RT::Test tests => 18;
+use RT::Test nodata => 1, tests => 18;
use_ok('RT');
use_ok('RT::Ticket');
use Test::Warn;
diff --git a/t/ticket/search.t b/t/ticket/search.t
index 9cec4f7..849ce46 100644
--- a/t/ticket/search.t
+++ b/t/ticket/search.t
@@ -6,7 +6,7 @@
use strict;
use warnings;
-use RT::Test tests => 43;
+use RT::Test nodata => 1, tests => 43;
# setup the queue
diff --git a/t/ticket/search_by_cf_freeform_multiple.t b/t/ticket/search_by_cf_freeform_multiple.t
index 8793a7c..0499a31 100644
--- a/t/ticket/search_by_cf_freeform_multiple.t
+++ b/t/ticket/search_by_cf_freeform_multiple.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 105;
+use RT::Test nodata => 1, tests => 105;
use RT::Ticket;
my $q = RT::Test->load_or_create_queue( Name => 'Regression' );
diff --git a/t/ticket/search_by_cf_freeform_single.t b/t/ticket/search_by_cf_freeform_single.t
index f597071..4fe598c 100644
--- a/t/ticket/search_by_cf_freeform_single.t
+++ b/t/ticket/search_by_cf_freeform_single.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 99;
+use RT::Test nodata => 1, tests => 99;
use RT::Ticket;
my $q = RT::Test->load_or_create_queue( Name => 'Regression' );
diff --git a/t/ticket/search_by_links.t b/t/ticket/search_by_links.t
index 611c158..462a766 100644
--- a/t/ticket/search_by_links.t
+++ b/t/ticket/search_by_links.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 80;
+use RT::Test nodata => 1, tests => 80;
use RT::Ticket;
my $q = RT::Test->load_or_create_queue( Name => 'Regression' );
diff --git a/t/ticket/search_by_watcher.t b/t/ticket/search_by_watcher.t
index b3a16db..57c3a46 100644
--- a/t/ticket/search_by_watcher.t
+++ b/t/ticket/search_by_watcher.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 119;
+use RT::Test nodata => 1, tests => 119;
use RT::Ticket;
my $q = RT::Test->load_or_create_queue( Name => 'Regression' );
diff --git a/t/ticket/search_long_cf_values.t b/t/ticket/search_long_cf_values.t
index f9cc7b5..339ad70 100644
--- a/t/ticket/search_long_cf_values.t
+++ b/t/ticket/search_long_cf_values.t
@@ -6,7 +6,7 @@
use strict;
use warnings;
-use RT::Test tests => 10;
+use RT::Test nodata => 1, tests => 10;
# setup the queue
diff --git a/t/ticket/sort-by-custom-ownership.t b/t/ticket/sort-by-custom-ownership.t
index b358a99..3e5df64 100644
--- a/t/ticket/sort-by-custom-ownership.t
+++ b/t/ticket/sort-by-custom-ownership.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use RT;
-use RT::Test tests => 7;
+use RT::Test nodata => 1, tests => 7;
use strict;
diff --git a/t/ticket/sort-by-queue.t b/t/ticket/sort-by-queue.t
index 8f89bd3..881a59d 100644
--- a/t/ticket/sort-by-queue.t
+++ b/t/ticket/sort-by-queue.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use RT::Test tests => 8;
+use RT::Test nodata => 1, tests => 8;
use strict;
use warnings;
diff --git a/t/ticket/sort-by-user.t b/t/ticket/sort-by-user.t
index d1aae1a..b5f6552 100644
--- a/t/ticket/sort-by-user.t
+++ b/t/ticket/sort-by-user.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use RT::Test tests => 32;
+use RT::Test nodata => 1, tests => 32;
use strict;
use warnings;
diff --git a/t/ticket/sort_by_cf.t b/t/ticket/sort_by_cf.t
index 7e25884..8999942 100644
--- a/t/ticket/sort_by_cf.t
+++ b/t/ticket/sort_by_cf.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-use RT::Test tests => 21;
+use RT::Test nodata => 1, tests => 21;
RT::Init();
use strict;
diff --git a/t/web/config_tab_right.t b/t/web/config_tab_right.t
index 4dc9ec0..d7f4cbf 100644
--- a/t/web/config_tab_right.t
+++ b/t/web/config_tab_right.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use RT::Test tests => 8;
+use RT::Test nodata => 1, tests => 8;
my ($uname, $upass, $user) = ('tester', 'tester');
{
diff --git a/t/web/dashboards-groups.t b/t/web/dashboards-groups.t
index cbf1d6a..6b39d01 100644
--- a/t/web/dashboards-groups.t
+++ b/t/web/dashboards-groups.t
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-use RT::Test tests => 40;
+use RT::Test nodata => 1, tests => 40;
my ($baseurl, $m) = RT::Test->started_ok;
my $url = $m->rt_base_url;
diff --git a/t/web/dashboards-permissions.t b/t/web/dashboards-permissions.t
index 1724042..8dc7532 100644
--- a/t/web/dashboards-permissions.t
+++ b/t/web/dashboards-permissions.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use RT::Test tests => 7;
+use RT::Test nodata => 1, tests => 7;
my ($baseurl, $m) = RT::Test->started_ok;
my $url = $m->rt_base_url;
diff --git a/t/web/rights1.t b/t/web/rights1.t
index c8892f2..28fac73 100644
--- a/t/web/rights1.t
+++ b/t/web/rights1.t
@@ -2,7 +2,7 @@
use strict;
use HTTP::Cookies;
-use RT::Test tests => 29;
+use RT::Test nodata => 1, tests => 29;
my ($baseurl, $agent) = RT::Test->started_ok;
# Create a user with basically no rights, to start.
diff --git a/t/web/ticket_owner.t b/t/web/ticket_owner.t
index 0460436..d018ec1 100644
--- a/t/web/ticket_owner.t
+++ b/t/web/ticket_owner.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 89;
+use RT::Test nodata => 1, tests => 89;
my $queue = RT::Test->load_or_create_queue( Name => 'Regression' );
ok $queue && $queue->id, 'loaded or created queue';
diff --git a/t/web/ticket_owner_autocomplete.t b/t/web/ticket_owner_autocomplete.t
index 24df427..b987e69 100644
--- a/t/web/ticket_owner_autocomplete.t
+++ b/t/web/ticket_owner_autocomplete.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 39;
+use RT::Test nodata => 1, tests => 39;
use JSON qw(from_json);
my $queue = RT::Test->load_or_create_queue( Name => 'Regression' );
diff --git a/t/web/ticket_seen.t b/t/web/ticket_seen.t
index 748f2cb..a285c6a 100644
--- a/t/web/ticket_seen.t
+++ b/t/web/ticket_seen.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 21;
+use RT::Test nodata => 1, tests => 21;
my $queue = RT::Test->load_or_create_queue( Name => 'Regression' );
ok $queue && $queue->id, 'loaded or created queue';
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list