Actions
Patch #41951
closedFix random test failure in IssueTest due to unsorted expected_statuses
Description
Failure: IssueTest#test_new_statuses_allowed_to_should_only_return_transitions_of_considered_workflows [test/unit/issue_test.rb:895]: --- expected +++ actual @@ -1 +1 @@ -#<ActiveRecord::Relation [#<IssueStatus id: 2, name: "Assigned", is_closed: false, position: 2, default_done_ratio: nil, description: "Description for Assigned issue status">, #<IssueStatus id: 1, name: "New", is_closed: false, position: 1, default_done_ratio: nil, description: "Description for New issue status">]> +[#<IssueStatus id: 1, name: "New", is_closed: false, position: 1, default_done_ratio: nil, description: "Description for New issue status">, #<IssueStatus id: 2, name: "Assigned", is_closed: false, position: 2, default_done_ratio: nil, description: "Description for Assigned issue status">] bin/rails test test/unit/issue_test.rb:879
Files
Actions