Fix: bug with php 5.4
This commit is contained in:
parent
e932bef031
commit
574c4373b4
@ -221,7 +221,7 @@ class BuildDocTest extends PHPUnit_Framework_TestCase
|
|||||||
$newlangs5=new Translate("",$conf);
|
$newlangs5=new Translate("",$conf);
|
||||||
$newlangs5->setDefaultLang('ru_RU');
|
$newlangs5->setDefaultLang('ru_RU');
|
||||||
$localobject->modelpdf='crabe';
|
$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);
|
$this->assertLessThan($result, 0);
|
||||||
print __METHOD__." result=".$result."\n";
|
print __METHOD__." result=".$result."\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user