projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94e336d
)
use commonAPI in tests
author
Sadposter
<hannah+pleroma@coffee-and-dreams.uk>
Sun, 18 Aug 2019 21:54:40 +0000
(22:54 +0100)
committer
Sadposter
<hannah+pleroma@coffee-and-dreams.uk>
Sun, 18 Aug 2019 21:54:40 +0000
(22:54 +0100)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index 23011bdacf71a534c55fd9f4dfdb327805590fc4..96f2a252d55bd36fb733be795e5abe43c8ad5654 100644
(file)
--- a/
test/user_test.exs
+++ b/
test/user_test.exs
@@
-94,7
+94,7
@@
defmodule Pleroma.UserTest do
followed = insert(:user, %{info: %{locked: true}})
follower = insert(:user)
-
Pleroma.Web.TwitterAPI.TwitterAPI.follow(follower, %{"user_id" => followed.id}
)
+
CommonAPI.follow(follower, followed
)
assert {:ok, [_activity]} = User.get_follow_requests(followed)
{:ok, _follower} = User.block(followed, follower)