diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-04-06 06:08:17 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-04-06 06:08:17 -0700 |
| commit | 50b0b73345b7b8aae070f5289dff8e0c2d278fde (patch) | |
| tree | 758cb2f16b6584c4e07e273a25a5f6da10981a85 /modules/gallery/tests/Item_Model_Test.php | |
| parent | 0dfc62051e7e3dac79489a6a2964c3e6b333b517 (diff) | |
| parent | 2657d085863782f57279d507c1c2c0a15ccccc24 (diff) | |
Merge branch 'master' into talmdal_dev
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 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 { |
