forked from AkkomaGang/akkoma
Fix instance name in email test
This commit is contained in:
parent
cc6d760814
commit
ccdf55acff
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ test "build user invitation email" do
|
||||||
token = %Pleroma.UserInviteToken{token: "test-token"}
|
token = %Pleroma.UserInviteToken{token: "test-token"}
|
||||||
email = UserEmail.user_invitation_email(user, token, "test@test.com", "Jonh")
|
email = UserEmail.user_invitation_email(user, token, "test@test.com", "Jonh")
|
||||||
assert email.from == {config[:name], config[:notify_email]}
|
assert email.from == {config[:name], config[:notify_email]}
|
||||||
assert email.subject == "Invitation to Pleroma"
|
assert email.subject == "Invitation to Akkoma"
|
||||||
assert email.to == [{"Jonh", "test@test.com"}]
|
assert email.to == [{"Jonh", "test@test.com"}]
|
||||||
|
|
||||||
assert email.html_body =~
|
assert email.html_body =~
|
||||||
|
|
Loading…
Reference in a new issue