[openstreetmap/openstreetmap-website] Reduce test run time portion of build process (8:31 reduced to 3:51) (PR #4708)
Josh Thompson
notifications at github.com
Fri Apr 19 00:01:41 UTC 2024
@josh-works 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" }
yoooo I just found a clean way of doing exactly what you suggested:
https://github.com/josh-works/mastodon/blob/babbde5d6f6d3b3724ae71550ae7814d47f16ed0/spec/fabricators/account_fabricator.rb#L3
I'll implement this here. It looks better than what I wrote, and better than what I was imagining based on what _you_ said.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4708#discussion_r1571537061
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4708/review/2010153203 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240418/b864663c/attachment.htm>
More information about the rails-dev
mailing list