|
|
@ -19,8 +19,8 @@ defmodule Pleroma.Emails.AdminEmailTest do
|
|
|
|
AdminEmail.report(to_user, reporter, account, [%{name: "Test", id: "12"}], "Test comment")
|
|
|
|
AdminEmail.report(to_user, reporter, account, [%{name: "Test", id: "12"}], "Test comment")
|
|
|
|
|
|
|
|
|
|
|
|
status_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :notice, "12")
|
|
|
|
status_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :notice, "12")
|
|
|
|
reporter_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :feed_redirect, reporter.nickname)
|
|
|
|
reporter_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :feed_redirect, reporter.id)
|
|
|
|
account_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :feed_redirect, account.nickname)
|
|
|
|
account_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :feed_redirect, account.id)
|
|
|
|
|
|
|
|
|
|
|
|
assert res.to == [{to_user.name, to_user.email}]
|
|
|
|
assert res.to == [{to_user.name, to_user.email}]
|
|
|
|
assert res.from == {config[:name], config[:notify_email]}
|
|
|
|
assert res.from == {config[:name], config[:notify_email]}
|
|
|
|