diff options
| author | lain <lain@soykaf.club> | 2019-10-07 12:30:59 +0200 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2019-10-07 12:30:59 +0200 |
| commit | 73b6512907d205d4be49864541eeb941d259aa57 (patch) | |
| tree | 8441ec250a7e7681b12bdc756df46a9870793149 /test/emails/admin_email_test.exs | |
| parent | 91e90aa807c2ce346cd453201447806fb71b21fe (diff) | |
| parent | 93bdc55306895dce0554e7838ecf2ea7ddaea3a7 (diff) | |
| download | pleroma-73b6512907d205d4be49864541eeb941d259aa57.tar.gz pleroma-73b6512907d205d4be49864541eeb941d259aa57.zip | |
Merge remote-tracking branch 'origin/develop' into reactions
Diffstat (limited to 'test/emails/admin_email_test.exs')
| -rw-r--r-- | test/emails/admin_email_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/emails/admin_email_test.exs b/test/emails/admin_email_test.exs index 31eac5f12..02c277a33 100644 --- a/test/emails/admin_email_test.exs +++ b/test/emails/admin_email_test.exs @@ -19,8 +19,8 @@ defmodule Pleroma.Emails.AdminEmailTest do AdminEmail.report(to_user, reporter, account, [%{name: "Test", id: "12"}], "Test comment") status_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :notice, "12") - reporter_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :feed_redirect, reporter.nickname) - account_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :feed_redirect, account.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.id) assert res.to == [{to_user.name, to_user.email}] assert res.from == {config[:name], config[:notify_email]} |
