summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Access_Helper_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/Access_Helper_Test.php
parentdc286cc2bd96a70505c16487905b4aae761feeff (diff)
parent9384f987bb96d0d39787ff9d3d16a70c01cd76e0 (diff)
Merge branch 'master' into bharat_dev
Diffstat (limited to 'modules/gallery/tests/Access_Helper_Test.php')
-rw-r--r--modules/gallery/tests/Access_Helper_Test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/tests/Access_Helper_Test.php b/modules/gallery/tests/Access_Helper_Test.php
index ac41743a..da72f12f 100644
--- a/modules/gallery/tests/Access_Helper_Test.php
+++ b/modules/gallery/tests/Access_Helper_Test.php
@@ -72,6 +72,7 @@ class Access_Helper_Test extends Unit_Test_Case {
access::deny(identity::everybody(), "view", $item);
access::deny(identity::registered_users(), "view", $item);
+ $item->reload();
$user = identity::create_user("access_test", "Access Test", "*****", "user@user.com");
foreach ($user->groups() as $group) {