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:
Go MAEDA
2024-12-11 10:17:57 +00:00
parent 7ae0427c9e
commit 4fb1e4bea0
241 changed files with 2 additions and 1378 deletions

View File

@@ -20,8 +20,6 @@
require_relative '../../../test_helper'
class Redmine::ProjectJumpBoxTest < ActiveSupport::TestCase
fixtures :users, :projects, :user_preferences, :members, :roles, :member_roles
def setup
@user = User.find_by_login 'jsmith'
User.current = @user