Hi,
In Freshdesk ConnectorV2 integration test,One method is failing. The readme
file says that any valid text can be added for 'noteBody' property but the
method checks the different value. I have shared the test failing method.
FAILED: testAddNoteWithOptionalParameters
FreshDesk {addNote} integration test with optional parameters.
java.lang.AssertionError: expected:<created_by: 5004626361
time: 2015-01-16 12:13:13 +0530> but was:<chamath1>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:171)
at org.testng.Assert.assertEquals(Assert.java:181)
at
org.wso2.carbon.connector.integration.test.freshdesk.FreshdeskConnectorIntegrationTest.testAddNoteWithOptionalParameters(FreshdeskConnectorIntegrationTest.java:517)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
at org.testng.TestRunner.privateRun(TestRunner.java:757)
at org.testng.TestRunner.run(TestRunner.java:608)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
at org.testng.TestNG.run(TestNG.java:999)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Thanks,
Kathees
On Thu, Dec 4, 2014 at 10:02 AM, Rasika Hettige <[email protected]> wrote:
> Hi All,
>
> FFI, following methods will be implemented under following connectors:
>
> *Freshdesk Connector (v2.0)*
>
> createTopic - Create a topic in a forum.
> getUser - Retrieve a single User.
> createPost - Create a post.
> deletePost - Delete a post.
>
> *Nexmo Connector*
>
> sendMessage - Send a message.
> makeCall - Make an outbound call.
> textToSpeech - Make an outbound call converting text to speech.
> getBalance - Retrieve the current account balance.
> searchMessage - Search a previously sent message for a given message id.
> searchMessages - Search sent messages.
> searchRejectedMessages - Search rejected messages.
> getOutboundPricing - Retrieve outbound pricing of nexmo for a given
> country.
> searchInboundNumbers - Get available inbound numbers for a given country.
>
> *SurveyGizmo Connector*
>
> createSurvey - Create a new survey.
> listSurveys - List all surveys.
> getSurveyById - Get the survey by ID.
> updateSurvey - Update or Copy an existing survey.
> createCampaign - Create a new campaign.
> listCampaigns - List all campaigns for a survey.
> getCampaignById - Get the campaign by ID.
> updateCampaign - Update or Copy an existing Campaign.
> listResponses - List all responses to to a survey.
> listContactLists - List all contact lists.
> getContactListById - Get contact list by ID.
>
> Thanks & Regards
> Rasika
>
>
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/Proposed-ESB-connector-scenario-Integrating-Freshdesk-with-Nexmo-ActiveCollab-Gmail-FluidSurveys-ands-tp107166p108285.html
> Sent from the WSO2 Architecture mailing list archive at Nabble.com.
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
--
Kathees
Software Engineer,
email: [email protected]
mobile: +94772596173
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture