diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-04-17 15:35:09 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-04-17 15:35:09 -0700 |
commit | af71df3d0f6bbed29446df1801d16d28acbf927c (patch) | |
tree | 30c6fbea2723c3344586d3fd7e93bdd32ca22262 /modules/rest/tests/Rest_Controller_Test.php | |
parent | 10f849cd0a8824a8f853a55e49859de30a291f01 (diff) |
Update tests to reflect recent changes to the REST API.
Diffstat (limited to 'modules/rest/tests/Rest_Controller_Test.php')
-rw-r--r-- | modules/rest/tests/Rest_Controller_Test.php | 1 |
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() { |