X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f37ea2fae3bd7330d42ca257baf175dd811b2ac6..389046d1a7e90f76a137dfb7bc98c3ca7264178e:/config/environments/test.rb?ds=sidebyside diff --git a/config/environments/test.rb b/config/environments/test.rb index 08d3236bf..80871151f 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -67,4 +67,7 @@ Rails.application.configure do # Use the test adapter for ActiveJob during testing. config.active_job.queue_adapter = :test + + # Allow FactoryBot to set primary key attributes + config.factory_bot.reject_primary_key_attributes = false end