]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation_member.rb
Test oauth2 application list with moderator permission icon
[rails.git] / test / factories / old_relation_member.rb
index 524a71074131f80daab8f1490bcd2a37c664c17c..34e0bd310f84c5f8fc5f9b0557a393b75390bb60 100644 (file)
@@ -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