Don't assert_same() now that typecasting is gone from ORM.

This commit is contained in:
Bharat Mediratta
2010-01-18 12:37:20 -08:00
parent cac4692510
commit cf236a228a

View File

@@ -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()