diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-20 17:05:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-20 17:05:17 +0000 |
commit | 5f79a6a19069a538d12509ae66f8811c6bba69fb (patch) | |
tree | 9dde9fcc482e02c33030cb421d53448c98037e97 /test/unit/issue_status_test.rb | |
parent | cf56698d91cedb461726200cf0e32834e7124cda (diff) | |
download | redmine-5f79a6a19069a538d12509ae66f8811c6bba69fb.tar.gz redmine-5f79a6a19069a538d12509ae66f8811c6bba69fb.zip |
Fixed: additional workflow transitions not available when set to both author and assignee (#8836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6300 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/issue_status_test.rb')
-rw-r--r-- | test/unit/issue_status_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/issue_status_test.rb b/test/unit/issue_status_test.rb index bc6535edc..3939f9257 100644 --- a/test/unit/issue_status_test.rb +++ b/test/unit/issue_status_test.rb @@ -83,11 +83,11 @@ class IssueStatusTest < ActiveSupport::TestCase assert_equal [2], status.new_statuses_allowed_to([role], tracker, false, false).map(&:id) assert_equal [2], status.find_new_statuses_allowed_to([role], tracker, false, false).map(&:id) - assert_equal [2, 3], status.new_statuses_allowed_to([role], tracker, true, false).map(&:id) - assert_equal [2, 3], status.find_new_statuses_allowed_to([role], tracker, true, false).map(&:id) + assert_equal [2, 3, 5], status.new_statuses_allowed_to([role], tracker, true, false).map(&:id) + assert_equal [2, 3, 5], status.find_new_statuses_allowed_to([role], tracker, true, false).map(&:id) - assert_equal [2, 4], status.new_statuses_allowed_to([role], tracker, false, true).map(&:id) - assert_equal [2, 4], status.find_new_statuses_allowed_to([role], tracker, false, true).map(&:id) + assert_equal [2, 4, 5], status.new_statuses_allowed_to([role], tracker, false, true).map(&:id) + assert_equal [2, 4, 5], status.find_new_statuses_allowed_to([role], tracker, false, true).map(&:id) assert_equal [2, 3, 4, 5], status.new_statuses_allowed_to([role], tracker, true, true).map(&:id) assert_equal [2, 3, 4, 5], status.find_new_statuses_allowed_to([role], tracker, true, true).map(&:id) |