summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/custom_field_test.rb2
-rw-r--r--test/unit/journal_observer_test.rb2
-rw-r--r--test/unit/lib/redmine/field_format/version_field_format_test.rb3
-rw-r--r--test/unit/project_copy_test.rb2
-rw-r--r--test/unit/repository_test.rb4
5 files changed, 8 insertions, 5 deletions
diff --git a/test/unit/custom_field_test.rb b/test/unit/custom_field_test.rb
index ab6e09887..89b53caeb 100644
--- a/test/unit/custom_field_test.rb
+++ b/test/unit/custom_field_test.rb
@@ -20,7 +20,7 @@ require File.expand_path('../../test_helper', __FILE__)
class CustomFieldTest < ActiveSupport::TestCase
fixtures :custom_fields, :roles, :projects,
:trackers, :issue_statuses,
- :issues
+ :issues, :users
def setup
User.current = nil
diff --git a/test/unit/journal_observer_test.rb b/test/unit/journal_observer_test.rb
index a03fa402b..d3fb735c7 100644
--- a/test/unit/journal_observer_test.rb
+++ b/test/unit/journal_observer_test.rb
@@ -20,7 +20,7 @@ require File.expand_path('../../test_helper', __FILE__)
class JournalObserverTest < ActiveSupport::TestCase
fixtures :issues, :issue_statuses, :journals, :journal_details, :projects,
:projects_trackers, :trackers, :enabled_modules, :enumerations,
- :users, :email_addresses, :roles
+ :users, :email_addresses, :roles, :members, :member_roles
def setup
User.current = nil
diff --git a/test/unit/lib/redmine/field_format/version_field_format_test.rb b/test/unit/lib/redmine/field_format/version_field_format_test.rb
index 9543d8444..2984624d6 100644
--- a/test/unit/lib/redmine/field_format/version_field_format_test.rb
+++ b/test/unit/lib/redmine/field_format/version_field_format_test.rb
@@ -22,7 +22,8 @@ class Redmine::VersionFieldFormatTest < ActionView::TestCase
fixtures :projects, :versions, :trackers,
:roles, :users, :members, :member_roles,
:issue_statuses, :issue_categories, :issue_relations, :workflows,
- :enumerations, :custom_fields, :custom_fields_trackers
+ :enumerations, :custom_fields, :custom_fields_trackers,
+ :enabled_modules
def setup
super
diff --git a/test/unit/project_copy_test.rb b/test/unit/project_copy_test.rb
index efe3c6dde..19bb13a25 100644
--- a/test/unit/project_copy_test.rb
+++ b/test/unit/project_copy_test.rb
@@ -36,7 +36,7 @@ class ProjectCopyTest < ActiveSupport::TestCase
:boards, :messages,
:repositories,
:news, :comments,
- :documents
+ :documents, :attachments
def setup
User.current = nil
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb
index 65295e38f..da89f91f6 100644
--- a/test/unit/repository_test.rb
+++ b/test/unit/repository_test.rb
@@ -33,7 +33,9 @@ class RepositoryTest < ActiveSupport::TestCase
:members,
:member_roles,
:roles,
- :enumerations
+ :enumerations,
+ :user_preferences,
+ :watchers
include Redmine::I18n