Commit f258e776 authored by maeda's avatar maeda

Add missing fixtures to several tests (#30276).

Patch by Yuichi HARADA.


git-svn-id: https://svn.redmine.org/redmine/trunk@17780 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 35a2eb2e
......@@ -30,7 +30,8 @@ class CalendarsControllerTest < Redmine::ControllerTest
:issue_relations,
:issue_categories,
:enumerations,
:queries
:queries,
:users, :email_addresses
def test_show
with_settings :gravatar_enabled => '1' do
......
......@@ -25,7 +25,8 @@ class GanttsControllerTest < Redmine::ControllerTest
:member_roles,
:members,
:enabled_modules,
:versions
:versions,
:email_addresses
def test_gantt_should_work
i2 = Issue.find(2)
......
......@@ -20,7 +20,7 @@ require File.expand_path('../../test_helper', __FILE__)
class NewsControllerTest < Redmine::ControllerTest
fixtures :projects, :users, :email_addresses, :roles, :members, :member_roles,
:enabled_modules, :news, :comments,
:attachments
:attachments, :user_preferences
def setup
User.current = nil
......
......@@ -19,7 +19,7 @@ require File.expand_path('../../test_helper', __FILE__)
class SettingsControllerTest < Redmine::ControllerTest
fixtures :projects, :trackers, :issue_statuses, :issues,
:users
:users, :email_addresses
def setup
User.current = nil
......
......@@ -18,7 +18,7 @@
require File.expand_path('../../test_helper', __FILE__)
class WelcomeControllerTest < Redmine::ControllerTest
fixtures :projects, :news, :users, :members
fixtures :projects, :news, :users, :members, :roles, :member_roles, :enabled_modules
def setup
Setting.default_language = 'en'
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -36,7 +36,7 @@ class ProjectCopyTest < ActiveSupport::TestCase
:boards, :messages,
:repositories,
:news, :comments,
:documents
:documents, :attachments
def setup
User.current = nil
......
......@@ -33,7 +33,9 @@ class RepositoryTest < ActiveSupport::TestCase
:members,
:member_roles,
:roles,
:enumerations
:enumerations,
:user_preferences,
:watchers
include Redmine::I18n
......
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