diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-12-28 22:00:25 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-12-28 22:00:25 -0800 |
commit | 9f3c6e4bee9f2ccae04b7b241c07845b9f233cfd (patch) | |
tree | da140ac1416c4a923cdd6178725269b66ceba742 /modules/gallery/tests/Item_Model_Test.php | |
parent | 5d37d529b060fea06bae68c664bc91b00297bae6 (diff) |
Update test to match change in Item_Model::as_restful_array made in
7e31f97b4cbc5cf1894611de1e9de7a3efc6ad50 for #1536.
Diffstat (limited to 'modules/gallery/tests/Item_Model_Test.php')
-rw-r--r-- | modules/gallery/tests/Item_Model_Test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Item_Model_Test.php b/modules/gallery/tests/Item_Model_Test.php index 4987d2f9..0554c0e2 100644 --- a/modules/gallery/tests/Item_Model_Test.php +++ b/modules/gallery/tests/Item_Model_Test.php @@ -362,11 +362,11 @@ class Item_Model_Test extends Gallery_Unit_Test_Case { } public function as_restful_array_with_edit_bit_test() { - $response = item::root()->as_restful_array(true); + $response = item::root()->as_restful_array(); $this->assert_true($response["can_edit"]); identity::set_active_user(identity::guest()); - $response = item::root()->as_restful_array(true); + $response = item::root()->as_restful_array(); $this->assert_false($response["can_edit"]); } |