[Rt-commit] r8468 - in rtir/branches/2.3-EXPERIMENTAL/t:
constituency
ruz at bestpractical.com
ruz at bestpractical.com
Thu Aug 9 00:36:29 EDT 2007
Author: ruz
Date: Thu Aug 9 00:36:29 2007
New Revision: 8468
Modified:
rtir/branches/2.3-EXPERIMENTAL/t/constituency/email.t
rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl
Log:
* vanish RT's lib/t/utils.t
Modified: rtir/branches/2.3-EXPERIMENTAL/t/constituency/email.t
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/t/constituency/email.t (original)
+++ rtir/branches/2.3-EXPERIMENTAL/t/constituency/email.t Thu Aug 9 00:36:29 2007
@@ -42,7 +42,7 @@
Foob!
EOF
- my ($status, $id) = create_ticket_via_gate($text, queue => $queue);
+ my ($status, $id) = RT::Test->send_via_mailgate($text, queue => $queue);
is $status >> 8, 0, "The mail gateway exited ok";
ok $id, "created ticket $id";
@@ -73,7 +73,7 @@
EOF
my $val = 'GOVNET';
local $ENV{'EXTENSION'} = $val;
- my ($status, $id) = create_ticket_via_gate($text, queue => $queue);
+ my ($status, $id) = RT::Test->send_via_mailgate($text, queue => $queue);
is $status >> 8, 0, "The mail gateway exited ok";
ok $id, "created ticket $id";
$incident_id = $id if $queue eq 'Incidents';
Modified: rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl (original)
+++ rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl Thu Aug 9 00:36:29 2007
@@ -19,8 +19,6 @@
RT::LoadConfig();
RT::Init();
-require $RT::BasePath. '/lib/t/utils.pl';
-
my $RTIR_TEST_USER = "rtir_test_user";
my $RTIR_TEST_PASS = "rtir_test_pass";
More information about the Rt-commit
mailing list