diff options
author | lain <lain@soykaf.club> | 2019-10-28 07:27:45 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-28 07:27:45 +0000 |
commit | 248020075982a18534aebec3ff63eee0ae6185f4 (patch) | |
tree | ee362d4bc812ba89195c6ed51d97b0b20fbcd5aa /test/web/twitter_api/util_controller_test.exs | |
parent | 060adfd762a5183b3cc5f51e041819b24b8430d2 (diff) | |
parent | 4c1dd55c48f80f3ebdb26d1a0c1a75b7922f578c (diff) | |
download | pleroma-248020075982a18534aebec3ff63eee0ae6185f4.tar.gz pleroma-248020075982a18534aebec3ff63eee0ae6185f4.zip |
Merge branch 'refactor/following-relationships' into 'develop'
Move following relationships to a separate table
Closes #1233
See merge request pleroma/pleroma!1814
Diffstat (limited to 'test/web/twitter_api/util_controller_test.exs')
-rw-r--r-- | test/web/twitter_api/util_controller_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs index 246da4da4..f0211f59c 100644 --- a/test/web/twitter_api/util_controller_test.exs +++ b/test/web/twitter_api/util_controller_test.exs @@ -366,7 +366,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do |> response(200) assert response =~ "Account followed!" - assert user2.follower_address in refresh_record(user).following + assert user2.follower_address in User.following(user) end test "returns error when user is deactivated", %{conn: conn} do @@ -438,7 +438,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do |> response(200) assert response =~ "Account followed!" - assert user2.follower_address in refresh_record(user).following + assert user2.follower_address in User.following(user) end test "returns error when followee not found", %{conn: conn} do |