diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-07-21 15:01:31 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-07-21 15:01:31 -0700 |
commit | 6d9d6a2e5d4fae49942e78e4e812c44934513f4a (patch) | |
tree | 15176844cd2bf612a8cbbddc79f6f27adc301c22 /modules/gallery/tests/Item_Model_Test.php | |
parent | a98afdb32ce3f625ad52467e09970b91923a5b98 (diff) |
Allow albums to have two (or more) dots in the name. Fixes #1897.
Diffstat (limited to 'modules/gallery/tests/Item_Model_Test.php')
-rw-r--r-- | modules/gallery/tests/Item_Model_Test.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gallery/tests/Item_Model_Test.php b/modules/gallery/tests/Item_Model_Test.php index 876fc137..8ae8a5dd 100644 --- a/modules/gallery/tests/Item_Model_Test.php +++ b/modules/gallery/tests/Item_Model_Test.php @@ -520,4 +520,10 @@ class Item_Model_Test extends Gallery_Unit_Test_Case { $this->assert_true(false, "Shouldn't get here"); } } + + public function albums_can_have_two_dots_in_name_test() { + $album = test::random_album_unsaved(item::root()); + $album->name = $album->name . ".foo.bar"; + $album->save(); + } } |