[Rt-commit] r10695 - rt/branches/3.999-DANGEROUS/t/ticket
ruz at bestpractical.com
ruz at bestpractical.com
Sun Feb 3 16:47:14 EST 2008
Author: ruz
Date: Sun Feb 3 16:47:13 2008
New Revision: 10695
Modified:
rt/branches/3.999-DANGEROUS/t/ticket/deffered_owner.t
Log:
* fix t/ticket/deffered_owner.t
Modified: rt/branches/3.999-DANGEROUS/t/ticket/deffered_owner.t
==============================================================================
--- rt/branches/3.999-DANGEROUS/t/ticket/deffered_owner.t (original)
+++ rt/branches/3.999-DANGEROUS/t/ticket/deffered_owner.t Sun Feb 3 16:47:13 2008
@@ -33,11 +33,11 @@
);
my $ticket = RT::Model::Ticket->new(current_user => RT::CurrentUser->new(id => $tester->id) );
# tester is owner, owner has right to modify owned tickets,
- # this right is required to set somebody as AdminCc
+ # this right is required to set somebody as admin_cc
my ($tid, $txn_id, $msg) = $ticket->create(
queue => $queue->id,
owner => $tester->id,
- AdminCc => 'root at localhost',
+ admin_cc => 'root at localhost',
);
diag $msg if $msg && $ENV{'TEST_VERBOSE'};
ok $tid, "Created a ticket";
@@ -56,11 +56,11 @@
my $ticket = RT::Model::Ticket->new(current_user => RT::CurrentUser->new(id => $tester->id) );
# tester is owner, owner has right to modify owned tickets,
- # this right is required to set somebody as AdminCc
+ # this right is required to set somebody as admin_cc
my ($tid, $txn_id, $msg) = $ticket->create(
queue => $queue->id,
owner => $tester->id,
- AdminCc => 'root at localhost',
+ admin_cc => 'root at localhost',
);
diag $msg if $msg && $ENV{'TEST_VERBOSE'};
ok $tid, "Created a ticket";
@@ -81,11 +81,11 @@
);
my $ticket = RT::Model::Ticket->new(current_user => RT::CurrentUser->new(id => $tester->id) );
- # set tester as Cc, Cc role group has right to own and take tickets
+ # set tester as cc, cc role group has right to own and take tickets
my ($tid, $txn_id, $msg) = $ticket->create(
queue => $queue->id,
owner => $tester->id,
- Cc => 'tester at localhost',
+ cc => 'tester at localhost',
);
diag $msg if $msg && $ENV{'TEST_VERBOSE'};
ok $tid, "Created a ticket";
@@ -102,11 +102,11 @@
);
my $ticket = RT::Model::Ticket->new(current_user => RT::CurrentUser->new(id => $tester->id) );
- # set tester as Cc, Cc role group has right to own and take tickets
+ # set tester as cc, cc role group has right to own and take tickets
my ($tid, $txn_id, $msg) = $ticket->create(
queue => $queue->id,
owner => $tester->id,
- Cc => 'tester at localhost',
+ cc => 'tester at localhost',
);
diag $msg if $msg && $ENV{'TEST_VERBOSE'};
ok $tid, "Created a ticket";
More information about the Rt-commit
mailing list