diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-04-24 11:35:56 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-04-24 11:35:56 -0700 |
commit | 6587f6ba7d047ddc1686c080090afe7d53365bd4 (patch) | |
tree | ec77342668e8865aca669c9b4736e84e3077b523 /rt/t/api/condition-ownerchange.t | |
parent | 47153aae5c2fc00316654e7277fccd45f72ff611 (diff) |
first pass RT4 merge, RT#13852
Diffstat (limited to 'rt/t/api/condition-ownerchange.t')
-rw-r--r-- | rt/t/api/condition-ownerchange.t | 7 |
1 files changed, 3 insertions, 4 deletions
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; |