diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-04-10 06:14:37 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-04-10 06:33:20 +0200 |
commit | 9c1b36856b97a7f86e60ad23ef374449c1910c7a (patch) | |
tree | 4a287e622af6ccb2bad0ebdcbc793115abf25187 /test/web/twitter_api/twitter_api_controller_test.exs | |
parent | cae02317317cab55c11a981a96889bccca4ec978 (diff) | |
download | pleroma-9c1b36856b97a7f86e60ad23ef374449c1910c7a.tar.gz pleroma-9c1b36856b97a7f86e60ad23ef374449c1910c7a.zip |
s/Pleroma.UserEmail/Pleroma.Emails.UserEmail/
Diffstat (limited to 'test/web/twitter_api/twitter_api_controller_test.exs')
-rw-r--r-- | test/web/twitter_api/twitter_api_controller_test.exs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 72b7ea85e..b3e01e943 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -1064,7 +1064,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do token_record = Repo.get_by(Pleroma.PasswordResetToken, user_id: user.id) Swoosh.TestAssertions.assert_email_sent( - Pleroma.UserEmail.password_reset_email(user, token_record.token) + Pleroma.Emails.UserEmail.password_reset_email(user, token_record.token) ) end end @@ -1163,7 +1163,9 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do |> assign(:user, user) |> post("/api/account/resend_confirmation_email?email=#{user.email}") - Swoosh.TestAssertions.assert_email_sent(Pleroma.UserEmail.account_confirmation_email(user)) + Swoosh.TestAssertions.assert_email_sent( + Pleroma.Emails.UserEmail.account_confirmation_email(user) + ) end end |