diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-19 23:22:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-19 23:22:26 +0000 |
commit | 9d747d6811ed8716d2ff157e5fc3564946ae2ec5 (patch) | |
tree | d4d8bf9223467a2d79d665cbd9fc8d13865c5132 /test/test_helper.rb | |
parent | 4ac9dc3075a3daa7e52700899b52d23db01915ce (diff) | |
download | redmine-9d747d6811ed8716d2ff157e5fc3564946ae2ec5.tar.gz redmine-9d747d6811ed8716d2ff157e5fc3564946ae2ec5.zip |
Reset current user before helpers tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16231 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 1ab7e9e03..11bd52c83 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -278,7 +278,10 @@ module Redmine end class HelperTest < ActionView::TestCase - + def setup + super + User.current = nil + end end class ControllerTest < ActionController::TestCase |