X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Femails%2Fuser_email_test.exs;h=a75623bb41aa3c72cd3a532e6db38c3ce2545d68;hb=4db88242e52b00dc350b9a2ecaaea5b7ea7b21c6;hp=963565f7c27ea08c71cee4641d02de7dd067c24c;hpb=447514dfa2759e3415399412e82bf772ff119e04;p=akkoma
diff --git a/test/emails/user_email_test.exs b/test/emails/user_email_test.exs
index 963565f7c..a75623bb4 100644
--- a/test/emails/user_email_test.exs
+++ b/test/emails/user_email_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Emails.UserEmailTest do
@@ -36,7 +36,7 @@ defmodule Pleroma.Emails.UserEmailTest do
test "build account confirmation email" do
config = Pleroma.Config.get(:instance)
- user = insert(:user, info: %Pleroma.User.Info{confirmation_token: "conf-token"})
+ user = insert(:user, confirmation_token: "conf-token")
email = UserEmail.account_confirmation_email(user)
assert email.from == {config[:name], config[:notify_email]}
assert email.to == [{user.name, user.email}]