summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-11-30 10:35:51 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-11-30 10:35:51 +0000
commit712e40b09fda187b1d7e243d507b77a7212d107b (patch)
tree7a3b68eeb129bc48279f17cc19e9dcd8a6d329c1
parent523289b9c4a48fea9e79bc0dca6d7580432cef78 (diff)
downloadredmine-712e40b09fda187b1d7e243d507b77a7212d107b.tar.gz
redmine-712e40b09fda187b1d7e243d507b77a7212d107b.zip
Merge r23329 from trunk to 6.0-stable (#41901).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23337 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/jobs/destroy_projects_job_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/jobs/destroy_projects_job_test.rb b/test/unit/jobs/destroy_projects_job_test.rb
index ed06f0896..01a83fc03 100644
--- a/test/unit/jobs/destroy_projects_job_test.rb
+++ b/test/unit/jobs/destroy_projects_job_test.rb
@@ -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