X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f37ea2fae3bd7330d42ca257baf175dd811b2ac6..86b84cff3bd9b9b07ecf1d4e0e4cdebc03fbf3fc:/config/environments/test.rb 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