]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation_member.rb
Merge remote-tracking branch 'upstream/pull/4911'
[rails.git] / test / factories / old_relation_member.rb
index 17495d7ea862703017f0124ed3506ee533407783..34e0bd310f84c5f8fc5f9b0557a393b75390bb60 100644 (file)
@@ -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