Project

General

Profile

Actions

Patch #41934

closed

Fix random test failure in ProjectsControllerTest::test_post_copy_should_copy_requested_items due to missing :issue_categories fixture

Added by Go MAEDA 16 days ago. Updated 11 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Test failure:

Failure:
ProjectsControllerTest#test_post_copy_should_copy_requested_items [test/functional/projects_controller_test.rb:1469]:
All issues were not copied.
Expected: 7
  Actual: 4

bin/rails test test/functional/projects_controller_test.rb:1445

Patch:

diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index d1755be59..41b8fb6b9 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -26,7 +26,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
            :enabled_modules, :enumerations, :boards, :messages,
            :attachments, :custom_fields, :custom_values, :time_entries,
            :wikis, :wiki_pages, :wiki_contents, :wiki_content_versions,
-           :roles, :queries
+           :roles, :queries, :issue_categories

   include Redmine::I18n

Actions #1

Updated by Go MAEDA 16 days ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA

Committed the fix in r23352.

Actions #2

Updated by Go MAEDA 11 days ago

  • Status changed from Resolved to Closed

Merged the fix into the 6.0-stable branch in r23359.

Actions

Also available in: Atom PDF