Skip to content

Business intelligence made simple

Fixed warning with adapter tests [skip ci]

Andrew Kane2d8002633535
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 4f11c3ae..25270269 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -14,6 +14,11 @@ Combustion.initialize! :active_record, :action_controller, :action_mailer, :acti
config.active_job.logger = logger
config.active_record.logger = logger
config.cache_store = :memory_store
+
+ # fixes warning with adapter tests
+ if Rails::VERSION::STRING.to_f >= 7.1
+ config.action_dispatch.show_exceptions = :none
+ end
end
Rails.cache.logger = logger