+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Plugs.UserEnabledPlugTest do
use Pleroma.Web.ConnCase, async: true
end
test "with a user that is deactivated, it removes that user", %{conn: conn} do
- user = insert(:user, info: %{"deactivated" => true})
+ user = insert(:user, info: %{deactivated: true})
conn =
conn