summaryrefslogtreecommitdiff
path: root/test/user_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-09-23 11:49:19 +0000
committerlain <lain@soykaf.club>2020-09-23 11:49:19 +0000
commit436d1a3c41fc92183efffb81cc041ca270025d02 (patch)
treea5a8cbe6911ef067c3d38a360897b390f6a855ff /test/user_test.exs
parentdf1eb5cf7ee6d718a28fca3d3715f11ab0e263cb (diff)
parenta5e1c400e49e7979e70f2c9dd4887ae144dca44c (diff)
downloadpleroma-436d1a3c41fc92183efffb81cc041ca270025d02.tar.gz
pleroma-436d1a3c41fc92183efffb81cc041ca270025d02.zip
Merge branch 'develop' into 'issue/2115'
# 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