hopefully fix travis errors

This commit is contained in:
Arnaud Aujon 2015-06-01 20:39:51 +02:00
parent 9bd32d7bf6
commit ed657d2bdf
2 changed files with 13 additions and 13 deletions

View File

@ -154,7 +154,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
/**
* testWSInvoicesCreateInvoice
*
* @return int
* @return int invoice created
*/
public function testWSInvoicesCreateInvoice()
{
@ -259,7 +259,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
* Retrieve an invoice using ref_ext
* @depends testWSInvoicesCreateInvoice
*
* @param result invoice created by create method
* @param array $result Invoice created by create method
* @return array Invoice
*/
public function testWSInvoicesGetInvoiceByRefExt($result)
@ -315,7 +315,7 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
* Update an invoice using ref_ext
* @depends testWSInvoicesCreateInvoice
*
* @param result invoice created by create method
* @param array $result invoice created by create method
* @return array Invoice
*/
public function testWSInvoicesUpdateInvoiceByRefExt($result)

View File

@ -229,7 +229,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
* Use id to retrieve thirdparty
* @depends testWSThirdpartycreateThirdParty
*
* @param result thirdparty created by create method
* @param array $result thirdparty created by create method
* @return array thirpdarty updated
*/
public function testWSThirdpartygetThirdPartyById($result)
@ -290,7 +290,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
*
* @depends testWSThirdpartycreateThirdParty
*
* @param result thirdparty created by create method
* @param array $result thirdparty created by create method
* @return array thirdparty
*/
public function testWSThirdpartygetThirdPartyByRefExt($result)
@ -351,7 +351,7 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
*
* @depends testWSThirdpartycreateThirdParty
*
* @param result thirdparty created by create method
* @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<br>\n";
print $this->soapclient->request;
print "\n<br>\n";
print $this->soapclient->response;
print "\n";
//}
}
print __METHOD__." result=".$result['result']['result_code']."\n";
$this->assertEquals('OK',$result['result']['result_code']);