mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
New: Allow to use ODT templates for prososal like it's done for invoices
This commit is contained in:
@@ -91,6 +91,9 @@ class ContactTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* Init phpunit tests
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
@@ -103,6 +106,9 @@ class ContactTest extends PHPUnit_Framework_TestCase
|
||||
print __METHOD__."\n";
|
||||
}
|
||||
/**
|
||||
* End phpunit tests
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
@@ -143,7 +149,7 @@ class ContactTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$localobject=new Contact($this->savdb);
|
||||
$result=$localobject->fetch($id);
|
||||
|
||||
|
||||
print __METHOD__." id=".$id." result=".$result."\n";
|
||||
$this->assertLessThan($result, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user