[Rt-commit] r7156 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: t/ticket
clkao at bestpractical.com
clkao at bestpractical.com
Mon Mar 5 11:41:06 EST 2007
Author: clkao
Date: Mon Mar 5 11:41:05 2007
New Revision: 7156
Added:
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/linking.t
- copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14-linking.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/merge.t
- copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14merge.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/quicksearch.t
- copied, changed from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/19quicksearch.t
Removed:
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14-linking.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14merge.t
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/19quicksearch.t
Log:
more moving.
Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/linking.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14-linking.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14-linking.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/linking.t Mon Mar 5 11:41:05 2007
@@ -10,8 +10,8 @@
use_ok('RT::Template');
use_ok('RT::Scrips');
use_ok('RT::Scrip');
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
use File::Temp qw/tempfile/;
my ($fh, $filename) = tempfile( UNLINK => 1, SUFFIX => '.rt');
Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/merge.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14merge.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/14merge.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/merge.t Mon Mar 5 11:41:05 2007
@@ -6,8 +6,8 @@
use Test::More tests => '17';
use RT;
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
# validate that when merging two tickets, the comments from both tickets
# are integrated into the new ticket
Copied: rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/quicksearch.t (from r7141, /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/19quicksearch.t)
==============================================================================
--- /rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/t/regression/19quicksearch.t (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/t/ticket/quicksearch.t Mon Mar 5 11:41:05 2007
@@ -6,8 +6,8 @@
use Test::More qw/no_plan/;
use_ok('RT');
-RT::LoadConfig();
-RT::Init();
+use RT::Test;
+
my $q = RT::Queue->new($RT::SystemUser);
my $queue = 'SearchTests-'.$$;
More information about the Rt-commit
mailing list