summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-27 09:55:00 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-27 09:55:00 -0800
commit7667864d61c857907795a351fbeb54c8f3506f6f (patch)
tree1f70fda6c18e21fb1b8f9efdda858a8bf4edc46c
parent63db756441fe2971bdcbcee3ba1bb20c179ffa59 (diff)
Minor test-only fixes.
-rw-r--r--modules/tag/tests/Tags_Rest_Helper_Test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tag/tests/Tags_Rest_Helper_Test.php b/modules/tag/tests/Tags_Rest_Helper_Test.php
index 33220b3b..0254adc8 100644
--- a/modules/tag/tests/Tags_Rest_Helper_Test.php
+++ b/modules/tag/tests/Tags_Rest_Helper_Test.php
@@ -33,6 +33,7 @@ class Tags_Rest_Helper_Test extends Gallery_Unit_Test_Case {
$request = new stdClass();
$this->assert_equal_array(
array(
+ "url" => rest::url("tags"),
"members" => array(
rest::url("tag", $t1),
rest::url("tag", $t2))),
@@ -50,6 +51,7 @@ class Tags_Rest_Helper_Test extends Gallery_Unit_Test_Case {
public function post_fails_without_permissions_test() {
access::deny(identity::everybody(), "edit", item::root());
+ identity::set_active_user(identity::guest());
try {
$request->params->name = "test tag";