Merge r23329 from trunk to 5.1-stable (#41901).

git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23338 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-11-30 10:36:14 +00:00
parent fc04d9e1d0
commit 321d6e31a5

View File

@@ -23,7 +23,7 @@ class DestroyProjectsJobTest < ActiveJob::TestCase
fixtures :users, :projects, :email_addresses
setup do
@projects = Project.where(id: [1, 2]).to_a
@projects = Project.where(id: [1, 2]).order(:id).to_a
@user = User.find_by_admin true
ActionMailer::Base.deliveries.clear
end