Merge branch 'follow-pipeline' into 'develop'
[akkoma] / test / web / mastodon_api / views / account_view_test.exs
index 80b1f734c041da92081c3f120fac8ab0911a5ef3..3e2e780e3067682e08e43e75c48e2a9472769ae0 100644 (file)
@@ -372,6 +372,9 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
       user = insert(:user, hide_followers: true, hide_follows: true)
       other_user = insert(:user)
       {:ok, user, other_user, _activity} = CommonAPI.follow(user, other_user)
+
+      assert User.following?(user, other_user)
+      assert Pleroma.FollowingRelationship.follower_count(other_user) == 1
       {:ok, _other_user, user, _activity} = CommonAPI.follow(other_user, user)
 
       assert %{