summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_status_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/issue_status_test.rb')
-rw-r--r--test/unit/issue_status_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/issue_status_test.rb b/test/unit/issue_status_test.rb
index 52b65900a..27441366f 100644
--- a/test/unit/issue_status_test.rb
+++ b/test/unit/issue_status_test.rb
@@ -28,6 +28,10 @@ class IssueStatusTest < ActiveSupport::TestCase
:issues, :journals, :journal_details,
:custom_fields, :custom_fields_projects, :custom_fields_trackers, :custom_values
+ def setup
+ User.current = nil
+ end
+
def test_create
status = IssueStatus.new :name => "Assigned"
assert !status.save