OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Enable forgery protection in test as well
Oliver Günther66d21ef73b04
diff --git a/config/environments/test.rb b/config/environments/test.rbindex 022b5405d56..59ca1cb33f1 100644--- a/config/environments/test.rb+++ b/config/environments/test.rb@@ -56,8 +56,8 @@ OpenProject::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+ # Enable request forgery protection in test environment.+ config.action_controller.allow_forgery_protection = true# Tell Action Mailer not to deliver emails to the real world.# The :test delivery method accumulates sent emails in the