Project

General

Profile

Actions

Defect #36718

closed

Menu Manager Test randomly fails

Added by Vincent Robert over 2 years ago. Updated over 2 years ago.

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

Related to Redmine - Patch #36241: MenuManagerTest randomly failsClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF