forked from AkkomaGang/akkoma
Fix user deactivation test.
This commit is contained in:
parent
812f5b058a
commit
8e3d8bde04
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ test "follow takes a user and another user" 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
|
||||
|
|
Loading…
Reference in a new issue