diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2011-08-27 20:56:03 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2011-08-27 20:56:03 -0700 | 
| commit | 084c2717c0ddff6c5caa79c62abb3cdb9b4aea31 (patch) | |
| tree | af0fc03f042d11715cbbb3d137390d7df706ec3c /modules/gallery/tests/Item_Helper_Test.php | |
| parent | dc21cf36b606048dc24532407d39bc8f5b4211fa (diff) | |
| parent | 246f5b59cb0e525a5ff6eaffce6b13e9af7e70b2 (diff) | |
Merge branch 'master' into bharat_dev
Diffstat (limited to 'modules/gallery/tests/Item_Helper_Test.php')
| -rw-r--r-- | modules/gallery/tests/Item_Helper_Test.php | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/modules/gallery/tests/Item_Helper_Test.php b/modules/gallery/tests/Item_Helper_Test.php index 4d5aed41..2fde7cc0 100644 --- a/modules/gallery/tests/Item_Helper_Test.php +++ b/modules/gallery/tests/Item_Helper_Test.php @@ -49,6 +49,10 @@ class Item_Helper_Test extends Gallery_Unit_Test_Case {    public function convert_filename_to_slug_test() {      $this->assert_equal("foo", item::convert_filename_to_slug("{[foo]}"));      $this->assert_equal("foo-bar", item::convert_filename_to_slug("{[foo!@#!$@#^$@($!(@bar]}")); +    $this->assert_equal("english-text", item::convert_filename_to_slug("english text")); +    $this->assert_equal("new-line", item::convert_filename_to_slug("new \n line")); +    $this->assert_equal("foo-and-bar", item::convert_filename_to_slug("foo&bar")); +    $this->assert_equal("special", item::convert_filename_to_slug("šṗëçîąļ"));    }    public function move_test() { | 
