]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/relation_member.rb
Merge remote-tracking branch 'upstream/pull/4972'
[rails.git] / test / factories / relation_member.rb
index b4498a28d1ad780784a8f81b10186a5b9b09be03..f8e14905e36cd805b9eab2f86607ab81f8857c3b 100644 (file)
@@ -1,9 +1,10 @@
 FactoryBot.define do
   factory :relation_member do
+    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