[openstreetmap/openstreetmap-website] Reduce test run time portion of build process (8:31 reduced to 3:51) (PR #4708)
Tom Hughes
notifications at github.com
Thu Apr 18 22:53:35 UTC 2024
@tomhughes commented on this pull request.
> @@ -2,7 +2,7 @@
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" }
Is there some way we could run `PasswordHash.create` once and then reuse the result, rather than actually hardcoding a single value?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4708#pullrequestreview-2010064103
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4708/review/2010064103 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240418/77274b36/attachment.htm>
More information about the rails-dev
mailing list