summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Item_Model_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-18 12:54:26 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-18 12:54:26 -0800
commitebb909625c348d4f3e4f91cd743426970835939c (patch)
tree5c0048471f6090469d8ecdcf4941269bd48a9df1 /modules/gallery/tests/Item_Model_Test.php
parentdc286cc2bd96a70505c16487905b4aae761feeff (diff)
parent9384f987bb96d0d39787ff9d3d16a70c01cd76e0 (diff)
Merge branch 'master' into bharat_dev
Diffstat (limited to 'modules/gallery/tests/Item_Model_Test.php')
-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 c1df70c6..b41740d6 100644
--- a/modules/gallery/tests/Item_Model_Test.php
+++ b/modules/gallery/tests/Item_Model_Test.php
@@ -45,7 +45,7 @@ class Item_Model_Test extends Unit_Test_Case {
public function updating_view_count_only_doesnt_change_updated_date_test() {
$item = test::random_photo();
$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()