Corrected test errors

This commit is contained in:
Sergei Tsoganov 2023-03-16 12:32:02 +02:00
parent ec203df164
commit edc4162f71
2 changed files with 3 additions and 0 deletions

View file

@ -96,5 +96,7 @@ module DomainNameRegistry
config.active_record.belongs_to_required_by_default = false config.active_record.belongs_to_required_by_default = false
config.action_dispatch.trusted_proxies = %w(127.0.0.1/32).map { |proxy| IPAddr.new(proxy) } config.action_dispatch.trusted_proxies = %w(127.0.0.1/32).map { |proxy| IPAddr.new(proxy) }
config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]
end end
end end

View file

@ -10,6 +10,7 @@ class PaperTrailLearningTest < ActiveSupport::TestCase
t.string :title t.string :title
# Otherwise `touch` fails silently # Otherwise `touch` fails silently
t.datetime :created_at
t.datetime :updated_at t.datetime :updated_at
end end
end end