diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-11-08 07:22:44 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-11-08 07:22:44 +0000 |
commit | 34bb545e4f327d24bd81a0bdb4ec02c6fb6ee0e7 (patch) | |
tree | f2639a875dd3dcc8a9be2aea6311f028d39fc645 /test | |
parent | 3815bb3bdc9bbf4fdcc78ea3a61dc3c4cf12abb6 (diff) | |
download | redmine-34bb545e4f327d24bd81a0bdb4ec02c6fb6ee0e7.tar.gz redmine-34bb545e4f327d24bd81a0bdb4ec02c6fb6ee0e7.zip |
prevent test failures with "trackers is invalid"
See r13571 comment.
git-svn-id: http://svn.redmine.org/redmine/trunk@13572 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/custom_field_test.rb | 4 | ||||
-rw-r--r-- | test/unit/project_members_inheritance_test.rb | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/unit/custom_field_test.rb b/test/unit/custom_field_test.rb index 61ed2223b..c20d7f645 100644 --- a/test/unit/custom_field_test.rb +++ b/test/unit/custom_field_test.rb @@ -18,7 +18,9 @@ require File.expand_path('../../test_helper', __FILE__) class CustomFieldTest < ActiveSupport::TestCase - fixtures :custom_fields, :roles, :projects, :issues + fixtures :custom_fields, :roles, :projects, + :trackers, :issue_statuses, + :issues def test_create field = UserCustomField.new(:name => 'Money money money', :field_format => 'float') diff --git a/test/unit/project_members_inheritance_test.rb b/test/unit/project_members_inheritance_test.rb index 01d13df8b..5f48a9070 100644 --- a/test/unit/project_members_inheritance_test.rb +++ b/test/unit/project_members_inheritance_test.rb @@ -18,7 +18,8 @@ require File.expand_path('../../test_helper', __FILE__) class ProjectMembersInheritanceTest < ActiveSupport::TestCase - fixtures :roles, :users + fixtures :roles, :users, + :projects, :trackers, :issue_statuses def setup @parent = Project.generate! |