From 1999cafe0fee4dc06bd5091b0144729a0905bac6 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 9 Dec 2024 00:49:42 +0000 Subject: 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 --- test/unit/issue_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3