diff options
author | Go MAEDA <maeda@farend.jp> | 2024-12-09 00:49:42 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-12-09 00:49:42 +0000 |
commit | 1999cafe0fee4dc06bd5091b0144729a0905bac6 (patch) | |
tree | f65944d88ac26741b26416f752321178615b4a00 | |
parent | 8600e7ec8e30b3cb0e82f34ed858e23d024937c5 (diff) | |
download | redmine-1999cafe0fee4dc06bd5091b0144729a0905bac6.tar.gz redmine-1999cafe0fee4dc06bd5091b0144729a0905bac6.zip |
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
-rw-r--r-- | test/unit/issue_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 631f2614f..f0e03cb3e 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -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) |