Commit 1b281af1 authored by maeda's avatar maeda

Some issue fixtures are set inconsistent tracker id which is not available in the project (#31053).

Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@18309 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent db63c249
......@@ -44,3 +44,6 @@ projects_trackers_014:
projects_trackers_015:
project_id: 6
tracker_id: 1
projects_trackers_016:
project_id: 3
tracker_id: 1
......@@ -467,6 +467,7 @@ class ProjectTest < ActiveSupport::TestCase
parent = Project.find(1)
parent.trackers = Tracker.find([1,2])
child = parent.children.find(3)
child.trackers = Tracker.find([2,3])
assert_equal [1, 2], parent.tracker_ids
assert_equal [2, 3], child.trackers.collect(&:id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment