diff --git a/test/phpunit/WebservicesInvoicesTest.php b/test/phpunit/WebservicesInvoicesTest.php
index ff8a9a30e73..bbfde0a66e5 100755
--- a/test/phpunit/WebservicesInvoicesTest.php
+++ b/test/phpunit/WebservicesInvoicesTest.php
@@ -154,7 +154,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
/**
* testWSInvoicesCreateInvoice
*
- * @return int
+ * @return int invoice created
*/
public function testWSInvoicesCreateInvoice()
{
@@ -259,8 +259,8 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
* Retrieve an invoice using ref_ext
* @depends testWSInvoicesCreateInvoice
*
- * @param result invoice created by create method
- * @return array Invoice
+ * @param array $result Invoice created by create method
+ * @return array Invoice
*/
public function testWSInvoicesGetInvoiceByRefExt($result)
{
@@ -315,8 +315,8 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
* Update an invoice using ref_ext
* @depends testWSInvoicesCreateInvoice
*
- * @param result invoice created by create method
- * @return array Invoice
+ * @param array $result invoice created by create method
+ * @return array Invoice
*/
public function testWSInvoicesUpdateInvoiceByRefExt($result)
{
diff --git a/test/phpunit/WebservicesThirdpartyTest.php b/test/phpunit/WebservicesThirdpartyTest.php
index 2bf3f3fe094..2888c432e73 100755
--- a/test/phpunit/WebservicesThirdpartyTest.php
+++ b/test/phpunit/WebservicesThirdpartyTest.php
@@ -229,8 +229,8 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
* Use id to retrieve thirdparty
* @depends testWSThirdpartycreateThirdParty
*
- * @param result thirdparty created by create method
- * @return array thirpdarty updated
+ * @param array $result thirdparty created by create method
+ * @return array thirpdarty updated
*/
public function testWSThirdpartygetThirdPartyById($result)
{
@@ -290,8 +290,8 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
*
* @depends testWSThirdpartycreateThirdParty
*
- * @param result thirdparty created by create method
- * @return array thirdparty
+ * @param array $result thirdparty created by create method
+ * @return array thirdparty
*/
public function testWSThirdpartygetThirdPartyByRefExt($result)
{
@@ -351,8 +351,8 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
*
* @depends testWSThirdpartycreateThirdParty
*
- * @param result thirdparty created by create method
- * @return array thirdparty
+ * @param array $result thirdparty created by create method
+ * @return array thirdparty
*/
public function testWSThirdpartydeleteThirdPartyById($result)
{
@@ -382,14 +382,14 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
echo $exception;
$result=0;
}
- //if (! $result || ! empty($result['faultstring'])) {
+ if (! $result || ! empty($result['faultstring'])) {
print $this->soapclient->error_str;
print "\n
\n";
print $this->soapclient->request;
print "\n
\n";
print $this->soapclient->response;
print "\n";
- //}
+ }
print __METHOD__." result=".$result['result']['result_code']."\n";
$this->assertEquals('OK',$result['result']['result_code']);