UserEnabledPlug: fix test after backporting

We didn't get rid of user info on stable yet
This commit is contained in:
rinpatch 2019-11-19 19:34:44 +03:00
parent 957fb059df
commit 5386d1f49f

View file

@ -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