diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-18 12:37:20 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-18 12:37:20 -0800 |
commit | cf236a228a8ea3316506f6d855bcade92676674c (patch) | |
tree | adbb225b89a235514e38a9b0001720c9a31c0e93 /modules/gallery/tests | |
parent | cac4692510d6b5da0d0a63f2ec54783df6ca86e4 (diff) |
Don't assert_same() now that typecasting is gone from ORM.
Diffstat (limited to 'modules/gallery/tests')
-rw-r--r-- | modules/gallery/tests/Item_Model_Test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/tests/Item_Model_Test.php b/modules/gallery/tests/Item_Model_Test.php index bf5fca1a..d03a03f4 100644 --- a/modules/gallery/tests/Item_Model_Test.php +++ b/modules/gallery/tests/Item_Model_Test.php @@ -52,7 +52,7 @@ class Item_Model_Test extends Unit_Test_Case { public function updating_view_count_only_doesnt_change_updated_date_test() { $item = self::_create_random_item(); $item->reload(); - $this->assert_same(0, $item->view_count); + $this->assert_equal(0, $item->view_count); // Force the updated date to something well known db::build() |