diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-21 20:16:57 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-21 20:16:57 -0800 |
commit | 6be5a71cc25614f669034f4f0fa86b5f109aaac6 (patch) | |
tree | feb2570f1dd4e8260d85c3cdc7601535fd43a214 /modules | |
parent | a0c99794185bbfe227556a4b006b2a6e770b3a78 (diff) |
Actually deny permissions in delete_item_from_tag_fails_without_permissions_test()..
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tag/tests/Tag_Rest_Helper_Test.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tag/tests/Tag_Rest_Helper_Test.php b/modules/tag/tests/Tag_Rest_Helper_Test.php index 389a512a..427d1a71 100644 --- a/modules/tag/tests/Tag_Rest_Helper_Test.php +++ b/modules/tag/tests/Tag_Rest_Helper_Test.php @@ -124,6 +124,8 @@ class Tag_Rest_Helper_Test extends Gallery_Unit_Test_Case { $tag = tag::add($album, "tag1"); $this->assert_equal(1, $tag->items()->count()); + access::deny(identity::everybody(), "edit", $album); + $request->url = rest::url("tag", $tag); $request->params->url = rest::url("gallery", $album); |