We have at least model (Language) which does not use datbase
generated primary keys so we need to be able to set them.
https://github.com/thoughtbot/factory_bot_rails/pull/419
# Use the test adapter for ActiveJob during testing.
config.active_job.queue_adapter = :test
# 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