[Rt-commit] r10112 - in rt/branches/3.999-DANGEROUS: t/mail
jesse at bestpractical.com
jesse at bestpractical.com
Tue Dec 25 00:31:40 EST 2007
Author: jesse
Date: Tue Dec 25 00:31:40 2007
New Revision: 10112
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/t/mail/gateway.t
Log:
r74105 at pinglin: jesse | 2007-12-25 00:29:11 -0500
Small test fixes
Modified: rt/branches/3.999-DANGEROUS/t/mail/gateway.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/mail/gateway.t (original)
+++ rt/branches/3.999-DANGEROUS/t/mail/gateway.t Tue Dec 25 00:31:40 2007
@@ -58,7 +58,7 @@
use RT::Test; use Test::More tests => 153;
-my ($baseurl, $m) = RT::Test->started_ok;
+my ($baseurl, $ua) = RT::Test->started_ok;
use RT::Model::TicketCollection;
@@ -68,7 +68,7 @@
# TODO: --extension queue
-my $url = $m->rt_base_url;
+my $url = $ua->rt_base_url;
sub latest_ticket {
my $tickets = RT::Model::TicketCollection->new(current_user => RT->system_user );
@@ -505,7 +505,6 @@
is ($acontent, $file, 'The attachment isn\'t screwed up in the database.');
# Grab the binary attachment via the web ui
- my $ua = new LWP::UserAgent;
my $full_url = "$url/Ticket/Attachment/". $attachment->TransactionId
."/". $attachment->id. "/bplogo.gif";
$ua->login();
More information about the Rt-commit
mailing list