summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/tests/Item_Model_Test.php2
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()