summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/util_controller_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-10-28 15:10:47 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-10-28 15:10:47 +0700
commit42708610857dd4aea1f488a31c1690cd37797333 (patch)
tree67b255a531530c21caaea86daae462b985a7bdea /test/web/twitter_api/util_controller_test.exs
parentb777083f3f396a7d8c357ec968f72679befc691c (diff)
parente80f90e9dbdb6955e355d6a06eb69ee7051ba6df (diff)
downloadpleroma-42708610857dd4aea1f488a31c1690cd37797333.tar.gz
pleroma-42708610857dd4aea1f488a31c1690cd37797333.zip
Merge branch 'develop' into feature/move-activity
Diffstat (limited to 'test/web/twitter_api/util_controller_test.exs')
-rw-r--r--test/web/twitter_api/util_controller_test.exs4
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