X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Femails%2Fadmin_email_test.exs;h=bc871a0a9cc17a3196896e06c5804eeeeccf87b9;hb=e44166b510f95bfb2e679b2d64bbf7e0facd0dd2;hp=594f03959c8d6c4ff091a824521096297376f631;hpb=8a52f30356a217d657d2569eac5ceab12e3b387d;p=akkoma
diff --git a/test/emails/admin_email_test.exs b/test/emails/admin_email_test.exs
index 594f03959..bc871a0a9 100644
--- a/test/emails/admin_email_test.exs
+++ b/test/emails/admin_email_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Emails.AdminEmailTest do
@@ -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.id)
- account_url = Helpers.o_status_url(Pleroma.Web.Endpoint, :feed_redirect, account.id)
+ reporter_url = Helpers.user_feed_url(Pleroma.Web.Endpoint, :feed_redirect, reporter.id)
+ account_url = Helpers.user_feed_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]}