mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-07 18:14:35 +00:00
18 lines
458 B
PHP
18 lines
458 B
PHP
<?php
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
*/
|
|
class thesaurusTest extends \PhraseanetTestCase
|
|
{
|
|
|
|
public function testXquery_escape()
|
|
{
|
|
$string = 'Eléphant ';
|
|
$this->assertEquals($string, thesaurus::xquery_escape($string));
|
|
$string = '&é"\'(-è_ çà)=ù*!:;,?./§%µ+°0987654321';
|
|
$this->assertEquals('&é"'(-è_ çà)=ù*!:;,?./§%µ+°0987654321', thesaurus::xquery_escape($string));
|
|
}
|
|
}
|