summaryrefslogtreecommitdiff
path: root/modules/tag/tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/tests')
-rw-r--r--modules/tag/tests/Tag_Rest_Helper_Test.php2
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);