diff options
author | lain <lain@soykaf.club> | 2020-08-06 15:22:20 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-08-06 15:22:20 +0200 |
commit | bf95dfb240cff8c5a2f8a0930e5309a09ca00ba1 (patch) | |
tree | 3a0c81155e7ae38e27008a7c066e8bc03fb1b410 /test/web/mastodon_api/mastodon_api_test.exs | |
parent | 532d6f94aea5d4f53e846b8b77296f80a9ae68a0 (diff) | |
parent | 10b0e55acffeeff5842421c12b3b26feb35336de (diff) | |
download | pleroma-bf95dfb240cff8c5a2f8a0930e5309a09ca00ba1.tar.gz pleroma-bf95dfb240cff8c5a2f8a0930e5309a09ca00ba1.zip |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into frontend-bundles-downloads
Diffstat (limited to 'test/web/mastodon_api/mastodon_api_test.exs')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_test.exs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/web/mastodon_api/mastodon_api_test.exs b/test/web/mastodon_api/mastodon_api_test.exs index c08be37d4..0c5a38bf6 100644 --- a/test/web/mastodon_api/mastodon_api_test.exs +++ b/test/web/mastodon_api/mastodon_api_test.exs @@ -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 |