diff options
author | Go MAEDA <maeda@farend.jp> | 2024-12-11 10:17:57 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-12-11 10:17:57 +0000 |
commit | 4fb1e4bea0edb5fe520aa8257f5d867232c8f729 (patch) | |
tree | a613cae1a23801f8596e14f2c5d6557cb6060c46 /test/functional/users_controller_test.rb | |
parent | 7ae0427c9ee891820954dfbd72c129d65989b3e8 (diff) | |
download | redmine-4fb1e4bea0edb5fe520aa8257f5d867232c8f729.tar.gz redmine-4fb1e4bea0edb5fe520aa8257f5d867232c8f729.zip |
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
Diffstat (limited to 'test/functional/users_controller_test.rb')
-rw-r--r-- | test/functional/users_controller_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 207c8afa5..ee7256086 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -22,13 +22,6 @@ require_relative '../test_helper' class UsersControllerTest < Redmine::ControllerTest include Redmine::I18n - fixtures :users, :user_preferences, :email_addresses, :projects, :members, :member_roles, :roles, - :custom_fields, :custom_values, :groups_users, - :auth_sources, - :enabled_modules, - :issues, :issue_statuses, - :trackers - def setup User.current = nil @request.session[:user_id] = 1 # admin |