forked from Wavyzz/dolibarr
Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -89,6 +89,9 @@ class FactureTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Init phpunit tests
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
@@ -100,7 +103,11 @@ class FactureTest extends PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
print __METHOD__."\n";
|
print __METHOD__."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* End phpunit tests
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
protected function tearDown()
|
protected function tearDown()
|
||||||
{
|
{
|
||||||
@@ -108,6 +115,9 @@ class FactureTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* testFactureCreate
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function testFactureCreate()
|
public function testFactureCreate()
|
||||||
{
|
{
|
||||||
@@ -127,6 +137,10 @@ class FactureTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* testFactureFetch
|
||||||
|
*
|
||||||
|
* @param int $id Id invoice
|
||||||
|
*
|
||||||
* @depends testFactureCreate
|
* @depends testFactureCreate
|
||||||
* The depends says test is run only if previous is ok
|
* The depends says test is run only if previous is ok
|
||||||
*/
|
*/
|
||||||
@@ -147,6 +161,10 @@ class FactureTest extends PHPUnit_Framework_TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* testFactureFetch
|
||||||
|
*
|
||||||
|
* @param Object $localobject Invoice
|
||||||
|
*
|
||||||
* @depends testFactureFetch
|
* @depends testFactureFetch
|
||||||
* The depends says test is run only if previous is ok
|
* The depends says test is run only if previous is ok
|
||||||
*/
|
*/
|
||||||
@@ -255,7 +273,7 @@ class FactureTest extends PHPUnit_Framework_TestCase
|
|||||||
* @param Object $oA Object operand 1
|
* @param Object $oA Object operand 1
|
||||||
* @param Object $oB Object operand 2
|
* @param Object $oB Object operand 2
|
||||||
* @param boolean $ignoretype False will not report diff if type of value differs
|
* @param boolean $ignoretype False will not report diff if type of value differs
|
||||||
* @param array $fieldstoignore Array of fields to ignore in diff
|
* @param array $fieldstoignorearray Array of fields to ignore in diff
|
||||||
* @return array Array with differences
|
* @return array Array with differences
|
||||||
*/
|
*/
|
||||||
public function objCompare($oA,$oB,$ignoretype=true,$fieldstoignorearray=array('id'))
|
public function objCompare($oA,$oB,$ignoretype=true,$fieldstoignorearray=array('id'))
|
||||||
|
|||||||
Reference in New Issue
Block a user