From f944487f6a37461e801b4f6dfc27d7b261ca15d4 Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Thu, 15 Dec 2022 14:37:02 +0000 Subject: [PATCH] use test active job queue adapter for test env --- config/environments/test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/test.rb b/config/environments/test.rb index 2af4affe7..dca19f3d1 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -65,4 +65,6 @@ Rails.application.configure do # see https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017 config.active_record.yaml_column_permitted_classes = [Time] + + config.active_job.queue_adapter = :test end