diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-12-21 16:55:01 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-12-21 16:55:01 -0800 |
commit | f493130e59f26d41f090c5ca40e95b416b9b154b (patch) | |
tree | 318c3803b1c9d9ced08faca3ee5e74000a1bb0fc /modules/gallery/tests/Item_Helper_Test.php | |
parent | c7096cc9ebe4b737c06629b975317aaa9806297f (diff) |
Tighten up item::find_by_path slightly. Augment the tests to cover
special characters in the file name ("+" is an edge case differentiator
between rawurlencode and urlencode).
Diffstat (limited to 'modules/gallery/tests/Item_Helper_Test.php')
-rw-r--r-- | modules/gallery/tests/Item_Helper_Test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/tests/Item_Helper_Test.php b/modules/gallery/tests/Item_Helper_Test.php index d60380f0..4124e453 100644 --- a/modules/gallery/tests/Item_Helper_Test.php +++ b/modules/gallery/tests/Item_Helper_Test.php @@ -135,7 +135,7 @@ class Item_Helper_Test extends Gallery_Unit_Test_Case { $level2b = test::random_album($level1); $level3b = test::random_photo($level2b); - $level3b->name = "same.jpg"; + $level3b->name = "has spaces+plusses.jpg"; $level3b->save(); // Item in album |