mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 13:55:52 +01:00
Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -20,19 +20,6 @@
|
||||
require_relative '../test_helper'
|
||||
|
||||
class CustomFieldsControllerTest < Redmine::ControllerTest
|
||||
fixtures :custom_fields, :custom_values,
|
||||
:custom_fields_projects, :custom_fields_trackers,
|
||||
:roles, :users,
|
||||
:members, :member_roles,
|
||||
:groups_users,
|
||||
:trackers, :projects_trackers,
|
||||
:enabled_modules,
|
||||
:projects, :issues,
|
||||
:issue_statuses,
|
||||
:issue_categories,
|
||||
:enumerations,
|
||||
:workflows
|
||||
|
||||
def setup
|
||||
@request.session[:user_id] = 1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user