summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/util_controller_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-10-30 17:51:15 -0500
committerMark Felder <feld@FreeBSD.org>2019-10-30 17:51:15 -0500
commitfcea6a9d2c7ae3223a6ec5038869a68ec618cb77 (patch)
treea2cb03d2c00acc2d63bb448613d7b40817d1d7c9 /test/web/twitter_api/util_controller_test.exs
parentae59b38203b5358ddbf7f2cc5e2cbc816d171452 (diff)
parent9b40e5f563cc3478bb1d619278b9c8e7d689f121 (diff)
downloadpleroma-fcea6a9d2c7ae3223a6ec5038869a68ec618cb77.tar.gz
pleroma-fcea6a9d2c7ae3223a6ec5038869a68ec618cb77.zip
Merge branch 'develop' into feature/fast_sanitize
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