Skip to content

Commit

Permalink
More test
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 5, 2018
1 parent 0de65b7 commit b210360
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/phpunit/FunctionsLibTest.php
Expand Up @@ -465,6 +465,10 @@ public function testDolStringNohtmltag()
$after=dol_string_nohtmltag($text,1);
$this->assertEquals("DEF",$after,"test7");

$text='<a href="/myurl" title="<u>A title</u>">HIJ</a>';
$after=dol_string_nohtmltag($text,0);
$this->assertEquals("HIJ",$after,"test8");

return true;
}

Expand Down

0 comments on commit b210360

Please sign in to comment.