mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Use HTMLFilter::clean() directly in unit tests
This commit is contained in:
parent
31080ddc04
commit
3d3fa6d7d3
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
class HTMLFilterTest extends \Codeception\TestCase\Test
|
||||
{
|
||||
public function testRemoveHackTag()
|
||||
public function testHTMLFilterClean()
|
||||
{
|
||||
$tests = array(
|
||||
// remove iframe
|
||||
|
|
@ -61,7 +61,7 @@ class HTMLFilterTest extends \Codeception\TestCase\Test
|
|||
|
||||
foreach ($tests as $test)
|
||||
{
|
||||
$this->assertEquals($test[1], removeHackTag($test[0]));
|
||||
$this->assertEquals($test[1], Rhymix\Framework\Security\HTMLFilter::clean($test[0]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue