[otrs-cvs] otrs/scripts/test/ProcessManagement/TransitionAction TicketTypeSet.t, 1.3, 1.4
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/scripts/test/ProcessManagement/TransitionAction
In directory lancelot:/tmp/cvs-serv23411/scripts/test/ProcessManagement/TransitionAction
Modified Files:
TicketTypeSet.t
Log Message:
Changed TransitionAction TicketTypeSet parameters from TicketType and TicketTypeID to Type and TypeID to make them more consistent with the other TransitionActions.
Author: cr
Index: TicketTypeSet.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/ProcessManagement/TransitionAction/TicketTypeSet.t,v
retrieving revision 1.3
retrieving revision 1.4
diff -2 -u -d -r1.3 -r1.4
--- TicketTypeSet.t 17 Dec 2012 17:46:32 -0000 1.3
+++ TicketTypeSet.t 11 Jan 2013 21:53:23 -0000 1.4
@@ -1,5 +1,5 @@
# --
# TicketType.t - TicketTypeSet testscript
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -192,5 +192,5 @@
Ticket => 1,
Config => {
- TicketType => $Type2ID,
+ Type => $Type2ID,
},
},
@@ -207,10 +207,10 @@
},
{
- Name => 'Wrong TicketType',
+ Name => 'Wrong Type',
Config => {
UserID => $UserID,
Ticket => \%Ticket,
Config => {
- TicketType => 'NotExisting' . $RandomID,
+ Type => 'NotExisting' . $RandomID,
},
},
@@ -218,10 +218,10 @@
},
{
- Name => 'Wrong TicketTypeID',
+ Name => 'Wrong TypeID',
Config => {
UserID => $UserID,
Ticket => \%Ticket,
Config => {
- TicketTypeID => 'NotExisting' . $RandomID,
+ TypeID => 'NotExisting' . $RandomID,
},
},
@@ -229,10 +229,10 @@
},
{
- Name => "Correct TicketType $Type2Name",
+ Name => "Correct Type $Type2Name",
Config => {
UserID => $UserID,
Ticket => \%Ticket,
Config => {
- TicketType => $Type2Name,
+ Type => $Type2Name,
},
},
@@ -240,10 +240,10 @@
},
{
- Name => "Correct TicketType $Type3Name",
+ Name => "Correct Type $Type3Name",
Config => {
UserID => $UserID,
Ticket => \%Ticket,
Config => {
- TicketType => $Type3Name,
+ Type => $Type3Name,
},
},
@@ -251,10 +251,10 @@
},
{
- Name => "Correct TicketTypeID $Type2Name",
+ Name => "Correct TypeID $Type2Name",
Config => {
UserID => $UserID,
Ticket => \%Ticket,
Config => {
- TicketTypeID => $Type2ID,
+ TypeID => $Type2ID,
},
},
@@ -262,10 +262,10 @@
},
{
- Name => 'Correct TicketTypeID $Type3Name',
+ Name => 'Correct TypeID $Type3Name',
Config => {
UserID => $UserID,
Ticket => \%Ticket,
Config => {
- TicketTypeID => $Type3ID,
+ TypeID => $Type3ID,
},
},
@@ -293,8 +293,4 @@
for my $Attribute ( sort keys %{ $Test->{Config}->{Config} } ) {
- # set attributes to easy compare
- $Ticket{TicketType} = $Ticket{Type} || undef;
- $Ticket{TicketTypeID} = $Ticket{TypeID} || undef;
-
$Self->True(
$Ticket{$Attribute},
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log