From: lain Date: Sun, 18 Nov 2018 17:40:58 +0000 (+0100) Subject: Fix user deactivation test. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8e3d8bde04bc3a6f82b501a39df12a672f0f7141;p=akkoma Fix user deactivation test. --- diff --git a/test/user_test.exs b/test/user_test.exs index 340878f64..6ef88e492 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -41,7 +41,7 @@ defmodule Pleroma.UserTest do test "can't follow a deactivated users" do user = insert(:user) - followed = insert(:user, info: %{"deactivated" => true}) + followed = insert(:user, info: %{deactivated: true}) {:error, _} = User.follow(user, followed) end