]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation_member.rb
Redirect to inbox after marking a message as read/unread disregarding referer
[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
 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
 
     old_relation
     # Default to creating nodes, but could be ways or relations as members
-    association :member, :factory => :node
+    member :factory => :node
   end
 end
   end
 end