]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user.rb
unburden call for User fabrication
[rails.git] / test / factories / user.rb
index 5b92345c2dbcf0f356be857b7432018dec6abef5..7823c0e9f6ca2e9345944d6a619756d1e68f3284 100644 (file)
@@ -2,7 +2,7 @@ FactoryBot.define do
   factory :user do
     sequence(:email) { |n| "user#{n}@example.com" }
     sequence(:display_name) { |n| "User #{n}" }
-    pass_crypt { PasswordHash.create("test").first }
+    pass_crypt { "$argon2id$v=19$m=65536,t=3,p=4$M+oP6KQOdFLDeiYa/gbzAg$pULNwXgKt2sEmTxMXxt298skEqc8MjnPwGsk075jLrk" }
 
     # These attributes are not the defaults, but in most tests we want
     # a 'normal' user who can log in without being redirected etc.