From 6587f6ba7d047ddc1686c080090afe7d53365bd4 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 24 Apr 2012 11:35:56 -0700 Subject: first pass RT4 merge, RT#13852 --- rt/t/api/condition-ownerchange.t | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rt/t/api/condition-ownerchange.t') diff --git a/rt/t/api/condition-ownerchange.t b/rt/t/api/condition-ownerchange.t index 4c4c49b29..2cfef7422 100644 --- a/rt/t/api/condition-ownerchange.t +++ b/rt/t/api/condition-ownerchange.t @@ -7,12 +7,12 @@ use RT::Test tests => 11; { -my $q = RT::Queue->new($RT::SystemUser); +my $q = RT::Queue->new(RT->SystemUser); $q->Create(Name =>'ownerChangeTest'); ok($q->Id, "Created a scriptest queue"); -my $s1 = RT::Scrip->new($RT::SystemUser); +my $s1 = RT::Scrip->new(RT->SystemUser); my ($val, $msg) =$s1->Create( Queue => $q->Id, ScripAction => 'User Defined', ScripCondition => 'On Owner Change', @@ -26,7 +26,7 @@ my ($val, $msg) =$s1->Create( Queue => $q->Id, ); ok($val,$msg); -my $ticket = RT::Ticket->new($RT::SystemUser); +my $ticket = RT::Ticket->new(RT->SystemUser); my ($tv,$ttv,$tm) = $ticket->Create(Queue => $q->Id, Subject => "hair on fire", InitialPriority => '20' @@ -48,4 +48,3 @@ is ($ticket->Priority , '24', "Ticket priority is set right"); } -1; -- cgit v1.2.1