UserEnabledPlug: fix test after backporting
authorrinpatch <rinpatch@sdf.org>
Tue, 19 Nov 2019 16:34:44 +0000 (19:34 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 19 Nov 2019 16:34:44 +0000 (19:34 +0300)
We didn't get rid of user info on stable yet

test/plugs/user_enabled_plug_test.exs

index 3fb7c53167e601ee15d94d453420974a353fbee4..e85b37ffee655938c4710e08a2670d4164fcb990 100644 (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