X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..54aa89a4bf8118a3fdec2d60acba6aeb7beaa8c8:/test/factories/old_relation_member.rb diff --git a/test/factories/old_relation_member.rb b/test/factories/old_relation_member.rb index 524a71074..34e0bd310 100644 --- a/test/factories/old_relation_member.rb +++ b/test/factories/old_relation_member.rb @@ -1,9 +1,10 @@ FactoryBot.define do factory :old_relation_member do - member_role "" + sequence(:sequence_id) + member_role { "" } old_relation # Default to creating nodes, but could be ways or relations as members - association :member, :factory => :node + member :factory => :node end end