aboutsummaryrefslogtreecommitdiff
path: root/test/web/twitter_api
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-10-29 22:23:19 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-10-29 22:23:19 +0300
commitb27a92e8faacb25540f08e32f68f37555a889aff (patch)
treee496b859774953b644008bd7d831b65d25bc7617 /test/web/twitter_api
parent922e3d082c38ccd108710e21d4bda8e65b551f9c (diff)
parenteba8acff094cd63088f74424f14c9d807bb8e862 (diff)
downloadpleroma-b27a92e8faacb25540f08e32f68f37555a889aff.tar.gz
Merge branch 'develop' into issue/1276
Diffstat (limited to 'test/web/twitter_api')
-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