mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 23:41:12 +00:00
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
This commit is contained in:
parent
3815bb3bdc
commit
34bb545e4f
@ -18,7 +18,9 @@
|
|||||||
require File.expand_path('../../test_helper', __FILE__)
|
require File.expand_path('../../test_helper', __FILE__)
|
||||||
|
|
||||||
class CustomFieldTest < ActiveSupport::TestCase
|
class CustomFieldTest < ActiveSupport::TestCase
|
||||||
fixtures :custom_fields, :roles, :projects, :issues
|
fixtures :custom_fields, :roles, :projects,
|
||||||
|
:trackers, :issue_statuses,
|
||||||
|
:issues
|
||||||
|
|
||||||
def test_create
|
def test_create
|
||||||
field = UserCustomField.new(:name => 'Money money money', :field_format => 'float')
|
field = UserCustomField.new(:name => 'Money money money', :field_format => 'float')
|
||||||
|
|||||||
@ -18,7 +18,8 @@
|
|||||||
require File.expand_path('../../test_helper', __FILE__)
|
require File.expand_path('../../test_helper', __FILE__)
|
||||||
|
|
||||||
class ProjectMembersInheritanceTest < ActiveSupport::TestCase
|
class ProjectMembersInheritanceTest < ActiveSupport::TestCase
|
||||||
fixtures :roles, :users
|
fixtures :roles, :users,
|
||||||
|
:projects, :trackers, :issue_statuses
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@parent = Project.generate!
|
@parent = Project.generate!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user