New: Allow to use ODT templates for prososal like it's done for invoices

This commit is contained in:
Laurent Destailleur
2012-02-05 19:37:52 +01:00
parent 0e827b7c20
commit 2093b3f0be
36 changed files with 309 additions and 95 deletions

View File

@@ -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);