summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Item_Model_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-20 22:51:18 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-20 22:51:18 -0800
commitfeefdfd533dd4e82a2edd5c0b342322889877b79 (patch)
tree44c25d422303596e139d01480ebbac4d0e4e131e /modules/gallery/tests/Item_Model_Test.php
parent6dc88be6b6828a968409167e9f3c57a1bb9ec79c (diff)
Stop using MY_ORM::original().
Diffstat (limited to 'modules/gallery/tests/Item_Model_Test.php')
-rw-r--r--modules/gallery/tests/Item_Model_Test.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/gallery/tests/Item_Model_Test.php b/modules/gallery/tests/Item_Model_Test.php
index efad660e..035ecb51 100644
--- a/modules/gallery/tests/Item_Model_Test.php
+++ b/modules/gallery/tests/Item_Model_Test.php
@@ -149,16 +149,6 @@ class Item_Model_Test extends Gallery_Unit_Test_Case {
$this->assert_false(true, "rename should conflict");
}
- public function save_original_values_test() {
- $item = test::random_photo_unsaved();
- $item->title = "ORIGINAL_VALUE";
- $item->save();
- $item->title = "NEW_VALUE";
-
- $this->assert_same("ORIGINAL_VALUE", $item->original()->title);
- $this->assert_same("NEW_VALUE", $item->title);
- }
-
public function move_album_test() {
$album2 = test::random_album();
$album1 = test::random_album($album2);