]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation.rb
Merge remote-tracking branch 'upstream/pull/5153'
[rails.git] / test / factories / old_relation.rb
index 8fdb23f58e3b65752aed5e819edca7aaec4b6be7..facf06dc0486027086ae1042a50044d9c0203899 100644 (file)
@@ -1,10 +1,10 @@
 FactoryBot.define do
   factory :old_relation do
-    timestamp { Time.now }
+    timestamp { Time.now.utc }
     visible { true }
     version { 1 }
 
     changeset
-    association :current_relation, :factory => :relation
+    current_relation :factory => :relation
   end
 end