diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
commit | b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (patch) | |
tree | 0ce300329bb2b6ace0e0fd72c94fe5fbb7e4db96 /modules/gallery/tests/Html_Helper_Test.php | |
parent | 952c8856098dcfd9673d344fc71be85b303c8fb1 (diff) |
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'modules/gallery/tests/Html_Helper_Test.php')
-rw-r--r-- | modules/gallery/tests/Html_Helper_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Html_Helper_Test.php b/modules/gallery/tests/Html_Helper_Test.php index 4d934ad5..a9903256 100644 --- a/modules/gallery/tests/Html_Helper_Test.php +++ b/modules/gallery/tests/Html_Helper_Test.php @@ -40,8 +40,8 @@ class Html_Helper_Test extends Unit_Test_Case { $safe_string_2); } - public function escape_for_js_test() { - $string = html::escape_for_js("hello's <p >world</p>"); + public function clean_js_test() { + $string = html::clean_js("hello's <p >world</p>"); $this->assert_equal("hello\\'s <p >world<\\/p>", $string); } |