Project

General

Profile

Actions

Defect #36718

closed

Menu Manager Test randomly fails

Added by Vincent Robert about 2 years ago. Updated about 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 #1

Updated by Go MAEDA about 2 years 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.

Actions #2

Updated by Go MAEDA about 2 years ago

  • Related to Patch #36241: MenuManagerTest randomly fails added
Actions

Also available in: Atom PDF