summaryrefslogtreecommitdiff
path: root/test/support/factory.ex
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-05-13 12:42:36 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-05-13 12:42:36 +0300
commitfd2fb2bb2e2292997fbe6f70c4d12b50c56cfab9 (patch)
tree12f2ac82ed24394fb52b5d0664583dc668814421 /test/support/factory.ex
parentbfb48e3db6009c31e52cfe5ac4828a6143d7e549 (diff)
parent156c8a508846bd6d4e55f666c4ecc6f0129ac5fc (diff)
downloadpleroma-fd2fb2bb2e2292997fbe6f70c4d12b50c56cfab9.tar.gz
pleroma-fd2fb2bb2e2292997fbe6f70c4d12b50c56cfab9.zip
Merge remote-tracking branch 'remotes/origin/develop' into restricted-relations-embedding
# Conflicts: # lib/pleroma/web/mastodon_api/controllers/status_controller.ex # lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex # test/web/mastodon_api/controllers/timeline_controller_test.exs # test/web/mastodon_api/views/status_view_test.exs
Diffstat (limited to 'test/support/factory.ex')
-rw-r--r--test/support/factory.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex
index c8c45e2a7..d4284831c 100644
--- a/test/support/factory.ex
+++ b/test/support/factory.ex
@@ -29,7 +29,7 @@ defmodule Pleroma.Factory do
name: sequence(:name, &"Test ใƒ†ใ‚นใƒˆ User #{&1}"),
email: sequence(:email, &"user#{&1}@example.com"),
nickname: sequence(:nickname, &"nick#{&1}"),
- password_hash: Comeonin.Pbkdf2.hashpwsalt("test"),
+ password_hash: Pbkdf2.hash_pwd_salt("test"),
bio: sequence(:bio, &"Tester Number #{&1}"),
last_digest_emailed_at: NaiveDateTime.utc_now(),
last_refreshed_at: NaiveDateTime.utc_now(),