Fix user deactivation test.

This commit is contained in:
lain 2018-11-18 18:40:58 +01:00
parent 812f5b058a
commit 8e3d8bde04

View File

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