2
0
forked from Wavyzz/dolibarr

Fix: bug with php 5.4

This commit is contained in:
Laurent Destailleur
2013-09-09 19:53:35 +02:00
parent e932bef031
commit 574c4373b4

View File

@@ -221,7 +221,7 @@ class BuildDocTest extends PHPUnit_Framework_TestCase
$newlangs5=new Translate("",$conf);
$newlangs5->setDefaultLang('ru_RU');
$localobject->modelpdf='crabe';
$result=facture_pdf_create($db, $localobject, $localobject->modelpdf, $newlangs);
$result=facture_pdf_create($db, $localobject, $localobject->modelpdf, $newlangs5);
$this->assertLessThan($result, 0);
print __METHOD__." result=".$result."\n";