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 WorkflowTransitionTest < ActiveSupport::TestCase
fixtures :roles, :trackers, :issue_statuses
def setup
User.current = nil
WorkflowTransition.delete_all