diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-19 15:00:33 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-19 15:00:33 -0700 |
commit | 1ba9d079bfaa1be48186aaa51bcb0059886d4891 (patch) | |
tree | 71a371b630edcb41d413331d03dad977b00f60d7 | |
parent | cd96ed887323c4006fa1a2008f153937cfa2f0ea (diff) |
post_test() should be using admin, not guest.
-rw-r--r-- | modules/tag/tests/Tags_Rest_Helper_Test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/tests/Tags_Rest_Helper_Test.php b/modules/tag/tests/Tags_Rest_Helper_Test.php index 99332c7c..1b909e50 100644 --- a/modules/tag/tests/Tags_Rest_Helper_Test.php +++ b/modules/tag/tests/Tags_Rest_Helper_Test.php @@ -45,7 +45,7 @@ class Tags_Rest_Helper_Test extends Gallery_Unit_Test_Case { } public function post_test() { - identity::set_active_user(identity::guest()); + identity::set_active_user(identity::admin_user()); $request = new stdClass(); $request->params = new stdClass(); |