diff --git a/Gemfile.lock b/Gemfile.lock index dbe2d19330a..9e0f1ea634e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -210,10 +210,10 @@ GEM tzinfo excon (0.104.0) exifr (1.3.9) - factory_bot (6.2.1) + factory_bot (6.4.2) activesupport (>= 5.0.0) - factory_bot_rails (6.2.0) - factory_bot (~> 6.2.0) + factory_bot_rails (6.4.2) + factory_bot (~> 6.4) railties (>= 5.0.0) ffi (1.16.3) filename (0.1.2) diff --git a/config/environments/test.rb b/config/environments/test.rb index f929b46bebd..148eb6ddaf3 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -76,4 +76,6 @@ resource '*', headers: :any, methods: [:get, :post, :patch, :put], credentials: true end end + + config.factory_bot.reject_primary_key_attributes = false end