summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-11-29 13:50:47 +0000
committerGo MAEDA <maeda@farend.jp>2021-11-29 13:50:47 +0000
commitbe61fe9626fa2bc62276bb1337566f7f9457aeb6 (patch)
treeb2125f299b9c7300b751c3fa0428d7b70b586219
parent153a4e26069b0f4182a4233516d7b4cb4aec72ac (diff)
downloadredmine-be61fe9626fa2bc62276bb1337566f7f9457aeb6.tar.gz
redmine-be61fe9626fa2bc62276bb1337566f7f9457aeb6.zip
MenuManagerTest randomly fails (#36241).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21297 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/integration/lib/redmine/menu_manager_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/lib/redmine/menu_manager_test.rb b/test/integration/lib/redmine/menu_manager_test.rb
index 9bac57ad4..0456bc50e 100644
--- a/test/integration/lib/redmine/menu_manager_test.rb
+++ b/test/integration/lib/redmine/menu_manager_test.rb
@@ -102,7 +102,7 @@ class MenuManagerTest < Redmine::IntegrationTest
def test_cross_project_menu_should_hide_item_if_module_is_not_enabled_for_any_project
user = User.find_by_login('dlopper')
- assert_equal [1, 3, 4, 6], Project.visible(user).ids
+ assert_equal [1, 3, 4, 6], Project.visible(user).ids.sort
# gantt and news are not enabled for any visible project
Project.find(1).enabled_module_names = %w(issue_tracking calendar)