mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-26 04:25:37 +01:00
MastodonAPITest: Do the needful
This commit is contained in:
parent
1a00713744
commit
36aa34a1a8
@ -17,8 +17,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPITest do
|
||||
test "returns error when followed user is deactivated" do
|
||||
follower = insert(:user)
|
||||
user = insert(:user, local: true, deactivated: true)
|
||||
{:error, error} = MastodonAPI.follow(follower, user)
|
||||
assert error == :rejected
|
||||
assert {:error, _error} = MastodonAPI.follow(follower, user)
|
||||
end
|
||||
|
||||
test "following for user" do
|
||||
|
Loading…
Reference in New Issue
Block a user