diff --git a/config/environments/test.rb b/config/environments/test.rb index cfba7d0307..8498bf7cac 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -27,9 +27,6 @@ Openfoodnetwork::Application.configure do # Raise exceptions instead of rendering exception templates config.action_dispatch.show_exceptions = false - # Disable request forgery protection in test environment - config.action_controller.allow_forgery_protection = false - # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array.