mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 17:53:50 -04:00
Don't assert_same() now that typecasting is gone from ORM.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user