diff options
Diffstat (limited to 'test/unit/time_entry_query_test.rb')
-rw-r--r-- | test/unit/time_entry_query_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/time_entry_query_test.rb b/test/unit/time_entry_query_test.rb index 2f6891893..f5533e425 100644 --- a/test/unit/time_entry_query_test.rb +++ b/test/unit/time_entry_query_test.rb @@ -28,6 +28,10 @@ class TimeEntryQueryTest < ActiveSupport::TestCase :enabled_modules, :custom_fields, :custom_fields_trackers, :custom_fields_projects + def setup + User.current = nil + end + def test_filter_values_without_project_should_be_arrays q = TimeEntryQuery.new assert_nil q.project |