Skip to content
Snippets Groups Projects
Commit 7670ed5a authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge remote-tracking branch 'origin/3.3' into 3.4

Conflicts:
	test/phpunit/PdfDocTest.php
parents 904f29c7 574c4373
No related branches found
No related tags found
No related merge requests found
......@@ -129,11 +129,11 @@ class PdfDocTest extends PHPUnit_Framework_TestCase
$langs=$this->savlangs;
$db=$this->savdb;
$localproduct=new Product($this->savdb);
$localproduct=new Product($this->savdb);
$localproduct->fetch(0,'PIDRESS');
$product_id=$localproduct->id;
if ($product_id <= 0) { print "\n".__METHOD__." A product with ref PIDRESS must exists into database"; die(); }
$localobject=new Facture($this->savdb);
$localobject->initAsSpecimen();
$localobject->lines=array();
......@@ -168,4 +168,4 @@ class PdfDocTest extends PHPUnit_Framework_TestCase
$this->assertEquals($result,10.4);
}
}
?>
\ No newline at end of file
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment