From 709d797408b2821fd8ec97c83fa982519a028bf8 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 21 Jan 2010 20:10:45 -0800 Subject: Make sure that we actually don't have permissions, to avoid contamination w/ other tests. --- modules/gallery/tests/Gallery_Rest_Helper_Test.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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 { -- cgit v1.2.3