Fix instance name in email test
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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