X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/942e62117ff7f12d40618a94ea3f4e86f8cb25af..a2e7b5db56a1bc61d90ea2c74e9961fcafd46218:/test/factories/old_relation_member.rb diff --git a/test/factories/old_relation_member.rb b/test/factories/old_relation_member.rb index 17495d7ea..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 + 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