summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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 084bfb47..b2244766 100644
--- a/modules/gallery/tests/Access_Helper_Test.php
+++ b/modules/gallery/tests/Access_Helper_Test.php
@@ -74,6 +74,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", "");
foreach ($user->groups() as $group) {