From 4fb1e4bea0edb5fe520aa8257f5d867232c8f729 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 11 Dec 2024 10:17:57 +0000 Subject: 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 --- test/unit/journal_observer_test.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/unit/journal_observer_test.rb') diff --git a/test/unit/journal_observer_test.rb b/test/unit/journal_observer_test.rb index ed6931893..8189d836a 100644 --- a/test/unit/journal_observer_test.rb +++ b/test/unit/journal_observer_test.rb @@ -20,11 +20,6 @@ require_relative '../test_helper' class JournalObserverTest < ActiveSupport::TestCase - fixtures :issues, :issue_statuses, :journals, :journal_details, :projects, - :projects_trackers, :trackers, :enabled_modules, :enumerations, - :users, :user_preferences, :email_addresses, :roles, :members, :member_roles, - :versions, :issue_categories, :attachments - def setup User.current = nil ActionMailer::Base.deliveries.clear -- cgit v1.2.3