[otrs-cvs] otrs/scripts/test Ticket.t,1.107,1.108
"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
In directory lancelot:/tmp/cvs-serv17793/scripts/test
Modified Files:
Ticket.t
Log Message:
Added UT for TicketSearch with CustomerID.
Author: mg
Index: Ticket.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/Ticket.t,v
retrieving revision 1.107
retrieving revision 1.108
diff -2 -u -d -r1.107 -r1.108
--- Ticket.t 20 Nov 2012 16:08:21 -0000 1.107
+++ Ticket.t 27 Nov 2012 09:44:59 -0000 1.108
@@ -378,4 +378,16 @@
%TicketIDs = $TicketObject->TicketSearch(
+ Result => 'HASH',
+ Limit => 100,
+ CustomerID => ['LULU'],
+ UserID => 1,
+ Permission => 'rw',
+);
+$Self->False(
+ scalar $TicketIDs{$TicketID},
+ 'TicketSearch() (HASH:CustomerID[ARRAY])',
+);
+
+%TicketIDs = $TicketObject->TicketSearch(
Result => 'HASH',
Limit => 100,
---------------------------------------------------------------------
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