summaryrefslogtreecommitdiff
path: root/test/user_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-09-23 09:16:00 +0000
committerlain <lain@soykaf.club>2020-09-23 09:16:00 +0000
commita6c14041c49df0dc850204723cfc1f242ded8aa2 (patch)
tree559fe96b7f65cd750a4bab5e9a117c43829c800f /test/user_test.exs
parent518c0f2962ab36660157d7cbc995d1f4562728b3 (diff)
parent34235bc02a88718b1d5a9d7fa2437784b91bb692 (diff)
downloadpleroma-a6c14041c49df0dc850204723cfc1f242ded8aa2.tar.gz
pleroma-a6c14041c49df0dc850204723cfc1f242ded8aa2.zip
Merge branch 'develop' into 'issue/1975'
# Conflicts: # CHANGELOG.md
Diffstat (limited to 'test/user_test.exs')
-rw-r--r--test/user_test.exs7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/user_test.exs b/test/user_test.exs
index cceb14eb9..d506f7047 100644
--- a/test/user_test.exs
+++ b/test/user_test.exs
@@ -509,7 +509,12 @@ defmodule Pleroma.UserTest do
cng = User.register_changeset(%User{}, @full_user_data)
{:ok, registered_user} = User.register(cng)
ObanHelpers.perform_all()
- assert_email_sent(Pleroma.Emails.UserEmail.account_confirmation_email(registered_user))
+
+ Pleroma.Emails.UserEmail.account_confirmation_email(registered_user)
+ # temporary hackney fix until hackney max_connections bug is fixed
+ # https://git.pleroma.social/pleroma/pleroma/-/issues/2101
+ |> Swoosh.Email.put_private(:hackney_options, ssl_options: [versions: [:"tlsv1.2"]])
+ |> assert_email_sent()
end
test "it requires an email, name, nickname and password, bio is optional when account_activation_required is enabled" do