mirror of
https://github.com/redmine/redmine.git
synced 2026-01-27 01:39:58 +01:00
Merged r23370 from trunk to 5.1-stable (#41951).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23372 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -889,7 +889,7 @@ class IssueTest < ActiveSupport::TestCase
|
||||
WorkflowTransition.create!(:role_id => 2, :tracker_id => 1, :old_status_id => 1, :new_status_id => 3)
|
||||
|
||||
# status 3 is not displayed
|
||||
expected_statuses = IssueStatus.where(:id => [1, 2])
|
||||
expected_statuses = IssueStatus.where(:id => [1, 2]).order(:id)
|
||||
|
||||
admin = User.find(1)
|
||||
assert_equal expected_statuses, issue.new_statuses_allowed_to(admin)
|
||||
|
||||
Reference in New Issue
Block a user