summaryrefslogtreecommitdiff
path: root/modules/gallery/tests
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-04-07 07:29:46 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-04-07 07:29:46 -0700
commit6652b691936f5fcf2f12aab947eca6c3cfae0ccc (patch)
tree4fa69bc40394276a14ae1d59f991badf8f3b15b7 /modules/gallery/tests
parent5679e30ef6c68272cce295bd593bc23c9ec1e1b3 (diff)
parent2657d085863782f57279d507c1c2c0a15ccccc24 (diff)
Merge branch 'master' into bharat_dev
Diffstat (limited to 'modules/gallery/tests')
-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 d0676292..8ab85a30 100644
--- a/modules/gallery/tests/Item_Model_Test.php
+++ b/modules/gallery/tests/Item_Model_Test.php
@@ -324,6 +324,12 @@ class Item_Model_Test extends Gallery_Unit_Test_Case {
$album->save();
}
+ public function name_with_only_invalid_chars_is_still_valid_test() {
+ $album = test::random_album_unsaved();
+ $album->name = "[]";
+ $album->save();
+ }
+
public function cant_change_item_type_test() {
$photo = test::random_photo();
try {