summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Html_Helper_Test.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-31 00:42:18 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-31 00:42:18 -0700
commitddb84c84e16766c6b79bd7fea61532257e83ef8b (patch)
treeb66c8a2ce6e8d21da31b6d67adfd3ac5de9b8fe6 /modules/gallery/tests/Html_Helper_Test.php
parent6d26b0dd6e900250072ca723c388cf3c5d987aeb (diff)
Rename mark_safe() to mark_clean()
Diffstat (limited to 'modules/gallery/tests/Html_Helper_Test.php')
-rw-r--r--modules/gallery/tests/Html_Helper_Test.php4
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 3623705e..bfce6dcf 100644
--- a/modules/gallery/tests/Html_Helper_Test.php
+++ b/modules/gallery/tests/Html_Helper_Test.php
@@ -32,8 +32,8 @@ class Html_Helper_Test extends Unit_Test_Case {
$this->assert_true($safe_string instanceof SafeString);
}
- public function mark_safe_test() {
- $safe_string = html::mark_safe("hello <p >world</p>");
+ public function mark_clean_test() {
+ $safe_string = html::mark_clean("hello <p >world</p>");
$this->assert_true($safe_string instanceof SafeString);
$safe_string_2 = html::clean($safe_string);
$this->assert_equal("hello <p >world</p>",