Fix regression

This commit is contained in:
Laurent Destailleur
2021-12-10 03:25:07 +01:00
parent 20a3fab437
commit 0027335e3b
2 changed files with 4 additions and 8 deletions

View File

@@ -160,11 +160,11 @@ class PdfDocTest extends PHPUnit\Framework\TestCase
$result=pdf_getlinedesc($localobject, 0, $langs);
print __METHOD__." result=".$result."\n";
$this->assertEquals($result, "PINKDRESS - Label 1<br>This is a description with a &eacute; accent<br>(Country of origin: France)");
$this->assertEquals("PINKDRESS - Label 1<br>This is a description with a &eacute; accent<br>(Country of origin: France)", $result);
$result=doc_getlinedesc($localobject->lines[0], $langs);
print __METHOD__." result=".$result."\n";
$this->assertEquals($result, "PINKDRESS - Label 1\nThis is a description with a é accent\n(Country of origin: France)");
$this->assertEquals("PINKDRESS - Label 1\nThis is a description with a é accent\n(Country of origin: France)", $result);
}
/**