From 5386d1f49f2faae0922e6f0d9b4b66cf11bdc946 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 19 Nov 2019 19:34:44 +0300 Subject: [PATCH] UserEnabledPlug: fix test after backporting We didn't get rid of user info on stable yet --- test/plugs/user_enabled_plug_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2