mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-25 02:19:31 +00:00
Fix user deactivation test.
This commit is contained in:
parent
812f5b058a
commit
8e3d8bde04
|
@ -41,7 +41,7 @@ defmodule Pleroma.UserTest do
|
||||||
|
|
||||||
test "can't follow a deactivated users" do
|
test "can't follow a deactivated users" do
|
||||||
user = insert(:user)
|
user = insert(:user)
|
||||||
followed = insert(:user, info: %{"deactivated" => true})
|
followed = insert(:user, info: %{deactivated: true})
|
||||||
|
|
||||||
{:error, _} = User.follow(user, followed)
|
{:error, _} = User.follow(user, followed)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue