]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user.rb
Remove require_terms_agreed configuration option
[rails.git] / test / factories / user.rb
index 69d5ba376471b2684b6fff8ba31cdb4e45af39c6..48a124adb7c0fe9872cf1513ebb37eca461ea8ef 100644 (file)
@@ -8,6 +8,7 @@ FactoryBot.define do
     # a 'normal' user who can log in without being redirected etc.
     status { "active" }
     terms_seen { true }
     # a 'normal' user who can log in without being redirected etc.
     status { "active" }
     terms_seen { true }
+    terms_agreed { Time.now.getutc }
     data_public { true }
 
     trait :with_home_location do
     data_public { true }
 
     trait :with_home_location do