X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/574231cf95960ba71273a75ccd0bf9057f574a57..ede8cda2ef790ef36b025dda0dd8160f1dd19507:/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