diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-12-16 16:43:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-12-16 16:43:17 +0000 |
commit | 82685d9a28b45d28c3415c8684e7bfce25de4efe (patch) | |
tree | 04469fcf9eef6f0a91c77457b78a09314b11639d /test | |
parent | 74eb2681ab1e919f75bde8c33c782ae4cdbd4db7 (diff) | |
download | redmine-82685d9a28b45d28c3415c8684e7bfce25de4efe.tar.gz redmine-82685d9a28b45d28c3415c8684e7bfce25de4efe.zip |
Test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17758 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/time_entry_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/time_entry_test.rb b/test/unit/time_entry_test.rb index b2420856a..b67f9f884 100644 --- a/test/unit/time_entry_test.rb +++ b/test/unit/time_entry_test.rb @@ -29,6 +29,10 @@ class TimeEntryTest < ActiveSupport::TestCase :groups_users, :enabled_modules + def setup + User.current = nil + end + def test_visibility_with_permission_to_view_all_time_entries user = User.generate! role = Role.generate!(:permissions => [:view_time_entries], :time_entries_visibility => 'all') |