summaryrefslogtreecommitdiff
path: root/modules/gallery/tests
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-21 20:10:45 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-21 20:10:45 -0800
commit709d797408b2821fd8ec97c83fa982519a028bf8 (patch)
tree55601bfc1fea2bf3e754797311ee393e19284e8d /modules/gallery/tests
parentf7f4df64b9abe726fae30cc44b8e640f68ef1415 (diff)
Make sure that we actually don't have permissions, to avoid contamination w/ other tests.
Diffstat (limited to 'modules/gallery/tests')
-rw-r--r--modules/gallery/tests/Gallery_Rest_Helper_Test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/tests/Gallery_Rest_Helper_Test.php b/modules/gallery/tests/Gallery_Rest_Helper_Test.php
index dcd9a9db..7586e010 100644
--- a/modules/gallery/tests/Gallery_Rest_Helper_Test.php
+++ b/modules/gallery/tests/Gallery_Rest_Helper_Test.php
@@ -194,6 +194,7 @@ class Gallery_Rest_Helper_Test extends Gallery_Unit_Test_Case {
public function delete_album_fails_without_permission_test() {
$album1 = test::random_album();
+ access::deny(identity::everybody(), "edit", $album1);
$request->url = rest::url("gallery", $album1);
try {