X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..efe4a0a94208e3f936f326590240534a575ecee9:/test/factories/relation_member.rb diff --git a/test/factories/relation_member.rb b/test/factories/relation_member.rb index 4357f3de7..f8e14905e 100644 --- a/test/factories/relation_member.rb +++ b/test/factories/relation_member.rb @@ -1,9 +1,10 @@ FactoryBot.define do factory :relation_member do - member_role "" + sequence(:sequence_id) + member_role { "" } relation # Default to creating nodes, but could be ways or relations as members - association :member, :factory => :node + member :factory => :node end end