diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-02-23 13:50:57 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-02-23 13:50:57 -0800 |
commit | d4423eb34970f0068af463ebea17a748910ca835 (patch) | |
tree | 622c70072f2b3d7afdb9732a65dcbca0f0b81f8f /modules/gallery/tests/Item_Helper_Test.php | |
parent | de1785d9fa020ca150e0e8789b564e65377da0f1 (diff) |
Reset the active user to admin in all test cases where we change the
user to something else.
Diffstat (limited to 'modules/gallery/tests/Item_Helper_Test.php')
-rw-r--r-- | modules/gallery/tests/Item_Helper_Test.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/tests/Item_Helper_Test.php b/modules/gallery/tests/Item_Helper_Test.php index 50587702..90106562 100644 --- a/modules/gallery/tests/Item_Helper_Test.php +++ b/modules/gallery/tests/Item_Helper_Test.php @@ -18,8 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class Item_Helper_Test extends Gallery_Unit_Test_Case { - - public function setup() { + public function teardown() { identity::set_active_user(identity::admin_user()); } |