2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2014-09-07 12:22:04 +02:00
parent 789427b75d
commit 342e26f679
97 changed files with 18277 additions and 8054 deletions

View File

@@ -364,7 +364,22 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
/**
* testDolTextIsHtml
* testDolUnaccent
*
* @return boolean
*/
public function testDolUnaccent()
{
// Text not already HTML
$input="A string\nwith a à ä é è ë ï ü ö ÿ, &, < and >.";
$after=dol_string_unaccent($input);
$this->assertEquals("A string\nwith a a a e e e i u o y, &, < and >.",$after);
}
/**
* testDolUtf8Check
*
* @return void
*/