summaryrefslogtreecommitdiff
path: root/modules/rest
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-04-17 15:35:09 -0700
committerBharat Mediratta <bharat@menalto.com>2010-04-17 15:35:09 -0700
commitaf71df3d0f6bbed29446df1801d16d28acbf927c (patch)
tree30c6fbea2723c3344586d3fd7e93bdd32ca22262 /modules/rest
parent10f849cd0a8824a8f853a55e49859de30a291f01 (diff)
Update tests to reflect recent changes to the REST API.
Diffstat (limited to 'modules/rest')
-rw-r--r--modules/rest/tests/Rest_Controller_Test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/rest/tests/Rest_Controller_Test.php b/modules/rest/tests/Rest_Controller_Test.php
index 6d09b214..fe83283d 100644
--- a/modules/rest/tests/Rest_Controller_Test.php
+++ b/modules/rest/tests/Rest_Controller_Test.php
@@ -27,6 +27,7 @@ class Rest_Controller_Test extends Gallery_Unit_Test_Case {
public function teardown() {
list($_GET, $_POST, $_SERVER) = $this->_save;
+ identity::set_active_user(identity::admin_user());
}
public function login_test() {