diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-26 09:58:57 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-26 09:58:57 -0800 |
commit | f28b80fcf43e02ca65f419eb6774321dc30a2a37 (patch) | |
tree | 34d3e44e5716751f71d10de623228bd541b487ae /modules/comment/tests/Comment_Model_Test.php | |
parent | 9f810150532a2511bfc5f03c9d24fd592d2f803f (diff) | |
parent | b4922f4d176662976c9d2b249edf0e50a0cdfdf1 (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/comment/tests/Comment_Model_Test.php')
-rw-r--r-- | modules/comment/tests/Comment_Model_Test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/comment/tests/Comment_Model_Test.php b/modules/comment/tests/Comment_Model_Test.php index f0449c05..798e4f6d 100644 --- a/modules/comment/tests/Comment_Model_Test.php +++ b/modules/comment/tests/Comment_Model_Test.php @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class Comment_Model_Test extends Gallery_Unit_Test_Case { + public function teardown() { + identity::set_active_user(identity::admin_user()); + } public function cant_view_comments_for_unviewable_items_test() { $album = test::random_album(); |