summaryrefslogtreecommitdiff
path: root/modules/rest/tests/Rest_Controller_Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rest/tests/Rest_Controller_Test.php')
-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() {