From feefdfd533dd4e82a2edd5c0b342322889877b79 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 20 Jan 2010 22:51:18 -0800 Subject: Stop using MY_ORM::original(). --- modules/gallery/tests/Item_Model_Test.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'modules/gallery') 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); -- cgit v1.2.3