Actions
Defect #36718
closedMenu Manager Test randomly fails
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
Here is another test which fails in some circumstances.
Thank you for considering this patch.
+++ /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
Related issues
Actions