summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Item_Model_Test.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-08-06 21:38:35 +0000
committerNathan Kinkade <nath@nkinka.de>2012-08-06 21:38:35 +0000
commitc6047a18fe13df2fc5bae7f9b2c7c5df30446bc1 (patch)
treeb1590c3e6842bf4bb82841b03e4081e50a66a654 /modules/gallery/tests/Item_Model_Test.php
parent527bc809aaa6d48e7c1a7be50de31a4c3adcee90 (diff)
parentd882c1ba78b6ae811abd226dd46446c914e74dd0 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/tests/Item_Model_Test.php')
-rw-r--r--modules/gallery/tests/Item_Model_Test.php6
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();
+ }
}