summaryrefslogtreecommitdiffstats
path: root/test/unit/jobs/destroy_projects_job_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/jobs/destroy_projects_job_test.rb')
-rw-r--r--test/unit/jobs/destroy_projects_job_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit/jobs/destroy_projects_job_test.rb b/test/unit/jobs/destroy_projects_job_test.rb
index 0008ce189..1a8e78394 100644
--- a/test/unit/jobs/destroy_projects_job_test.rb
+++ b/test/unit/jobs/destroy_projects_job_test.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-
# Redmine - project management software
# Copyright (C) 2006- Jean-Philippe Lang
#
@@ -66,4 +65,8 @@ class DestroyProjectsJobTest < ActiveJob::TestCase
)
end
end
+
+ def queue_adapter_for_test
+ ActiveJob::QueueAdapters::TestAdapter.new
+ end
end