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 12 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

Also available in: Atom PDF