diff options
author | Go MAEDA <maeda@farend.jp> | 2019-09-05 05:58:15 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-09-05 05:58:15 +0000 |
commit | 2e71eda8c1c626c1ab1d3e340fa594992b71a117 (patch) | |
tree | a482fe7328af1ad9bfa07d57d113ab9a105e5d4a /test/unit/issue_status_test.rb | |
parent | 481a575f5a7f204ea40e1cb95ac2859363721964 (diff) | |
download | redmine-2e71eda8c1c626c1ab1d3e340fa594992b71a117.tar.gz redmine-2e71eda8c1c626c1ab1d3e340fa594992b71a117.zip |
Merged r17761 from trunk to 4.0-stable (#32022).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18432 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_status_test.rb')
-rw-r--r-- | test/unit/issue_status_test.rb | 4 |
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 |