From 321d6e31a5e2bb46fd135e8bf7abc2c3df210e84 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sat, 30 Nov 2024 10:36:14 +0000 Subject: 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 --- test/unit/jobs/destroy_projects_job_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/jobs/destroy_projects_job_test.rb b/test/unit/jobs/destroy_projects_job_test.rb index f27aead7f..4a1f7ca08 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 -- cgit v1.2.3