From: rinpatch Date: Tue, 19 Nov 2019 16:34:44 +0000 (+0300) Subject: UserEnabledPlug: fix test after backporting X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5386d1f49f2faae0922e6f0d9b4b66cf11bdc946;p=akkoma UserEnabledPlug: fix test after backporting We didn't get rid of user info on stable yet --- diff --git a/test/plugs/user_enabled_plug_test.exs b/test/plugs/user_enabled_plug_test.exs index 3fb7c5316..e85b37ffe 100644 --- a/test/plugs/user_enabled_plug_test.exs +++ b/test/plugs/user_enabled_plug_test.exs @@ -21,7 +21,7 @@ defmodule Pleroma.Plugs.UserEnabledPlugTest do old = Pleroma.Config.get([:instance, :account_activation_required]) Pleroma.Config.put([:instance, :account_activation_required], true) - user = insert(:user, confirmation_pending: true) + user = insert(:user, info: %{confirmation_pending: true}) conn = conn