Defect #36718

Menu Manager Test randomly fails

Added by Vincent Robert 5 months ago. Updated 5 months ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
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 fails Closed

History

#1 Updated by Go MAEDA 5 months ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Thank you for reporting the issue but it has already been fixed in r21297.

#2 Updated by Go MAEDA 5 months ago

  • Related to Patch #36241: MenuManagerTest randomly fails added

Also available in: Atom PDF