[otrs-cvs] FAQ/scripts/test/GenericInterface FAQConnector.t, 1.8, 1.9
"CVS commits notifications of OTRS.org" <[email protected]> Mon, 13 May 2013 01:50:48 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/FAQ/scripts/test/GenericInterface
In directory lancelot:/tmp/cvs-serv29697/scripts/test/GenericInterface
Modified Files:
FAQConnector.t
Log Message:
Fixed and improved tests.
Author: cr
Index: FAQConnector.t
===================================================================
RCS file: /home/cvs/FAQ/scripts/test/GenericInterface/FAQConnector.t,v
retrieving revision 1.8
retrieving revision 1.9
diff -2 -u -d -r1.8 -r1.9
--- FAQConnector.t 5 Mar 2013 00:29:27 -0000 1.8
+++ FAQConnector.t 13 May 2013 01:50:43 -0000 1.9
@@ -34,4 +34,6 @@
);
+my $RandomID = $HelperObject->GetRandomID();
+
# set webservice name
my $WebserviceName = '-Test-' . $HelperObject->GetRandomID();
@@ -117,5 +119,5 @@
my $FAQIDOne = $FAQObject->FAQAdd(
- Title => 'Title FAQ One' . $WebserviceName,
+ Title => 'Title FAQ ' . $RandomID . 'One' . $WebserviceName,
CategoryID => $CategoryIDOne,
StateID => $PublicStateID,
@@ -134,5 +136,5 @@
my $FAQIDTwo = $FAQObject->FAQAdd(
- Title => 'Title FAQ Two' . $WebserviceName,
+ Title => 'Title FAQ ' . $RandomID . ' Two' . $WebserviceName,
CategoryID => $CategoryIDThree,
StateID => $PublicStateID,
@@ -156,5 +158,5 @@
LanguageID => 1,
Keywords => '',
- Field1 => 'Look for me on the search',
+ Field1 => 'Look for me ' . $RandomID . ' on the search',
Field2 => 'Solution not found1...',
UserID => $UserID,
@@ -192,5 +194,5 @@
my $FAQIDFour = $FAQObject->FAQAdd(
- Title => 'Title FAQ Языковые Four' . $WebserviceName,
+ Title => 'Title FAQ ' . $RandomID . ' Языковые Four' . $WebserviceName,
CategoryID => $CategoryIDFour,
StateID => $PublicStateID,
@@ -460,5 +462,5 @@
SuccessRequest => '1',
RequestData => {
- Title => 'Title FAQ',
+ Title => 'Title FAQ ' . $RandomID,
OrderBy => 'FAQID',
},
@@ -479,5 +481,5 @@
SuccessRequest => '1',
RequestData => {
- What => 'Look for me',
+ What => 'Look for me ' . $RandomID,
OrderBy => 'FAQID',
},
@@ -527,5 +529,5 @@
Error => {
ErrorCode => 'PublicFAQGet.MissingParameter',
- ErrorMessage => 'PublicFAQGet: Got not ItemID!'
+ ErrorMessage => 'PublicFAQGet: Got no ItemID!'
}
},
@@ -537,5 +539,5 @@
Error => {
ErrorCode => 'PublicFAQGet.MissingParameter',
- ErrorMessage => 'PublicFAQGet: Got not ItemID!'
+ ErrorMessage => 'PublicFAQGet: Got no ItemID!'
}
},
---------------------------------------------------------------------
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