test: update test suite config

Этот коммит содержится в:
Mattia Roccoberton
2024-02-26 09:11:31 +01:00
родитель 2215c7337b
Коммит c935e16d25
21 изменённых файлов: 59 добавлений и 27 удалений

Просмотреть файл

@@ -17,6 +17,10 @@ module Dummy
###
config.active_record.legacy_connection_handling = false if Rails::VERSION::MAJOR > 6
config.active_record.legacy_connection_handling = false if Gem::Version.new(Rails.version) < Gem::Version.new('7.1')
config.before_configuration do
ActiveSupport::Cache.format_version = 7.0 if Gem::Version.new(Rails.version) > Gem::Version.new('7.0')
end
end
end

Просмотреть файл

@@ -29,7 +29,7 @@ Rails.application.configure do
end
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local
# config.active_storage.service = :local
# # Don't care if the mailer can't send.
# config.action_mailer.raise_delivery_errors = false

Просмотреть файл

@@ -26,7 +26,7 @@ Rails.application.configure do
config.cache_store = :null_store
# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false
config.action_dispatch.show_exceptions = :none
# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false