diff --git a/tests/unit/framework/security/HTMLFilterTest.php b/tests/unit/framework/security/HTMLFilterTest.php
index f3ab22629..01162dc9c 100644
--- a/tests/unit/framework/security/HTMLFilterTest.php
+++ b/tests/unit/framework/security/HTMLFilterTest.php
@@ -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]));
}
}