aboutsummaryrefslogtreecommitdiff
path: root/test/following_relationship_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-05-02 16:22:21 +0000
committerrinpatch <rinpatch@sdf.org>2020-05-02 16:22:21 +0000
commit019a192e43c2421c74e5126e753aac095db8ad54 (patch)
tree3415b92ed0cb9e59f39946a1439fd918c6ea07ee /test/following_relationship_test.exs
parent3b15a0eecc62f79465620a697f12b576ed87b0fc (diff)
parent04f23294d327f044a72ecd3f269846c2f6198cf1 (diff)
downloadpleroma-2.0.3.tar.gz
Merge branch 'release/2.0.3' into 'stable'v2.0.3
Release/2.0.3 See merge request pleroma/secteam/pleroma!3
Diffstat (limited to 'test/following_relationship_test.exs')
-rw-r--r--test/following_relationship_test.exs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/following_relationship_test.exs b/test/following_relationship_test.exs
index 865bb3838..17a468abb 100644
--- a/test/following_relationship_test.exs
+++ b/test/following_relationship_test.exs
@@ -15,28 +15,28 @@ defmodule Pleroma.FollowingRelationshipTest do
test "returns following addresses without internal.fetch" do
user = insert(:user)
fetch_actor = InternalFetchActor.get_actor()
- FollowingRelationship.follow(fetch_actor, user, "accept")
+ FollowingRelationship.follow(fetch_actor, user, :follow_accept)
assert FollowingRelationship.following(fetch_actor) == [user.follower_address]
end
test "returns following addresses without relay" do
user = insert(:user)
relay_actor = Relay.get_actor()
- FollowingRelationship.follow(relay_actor, user, "accept")
+ FollowingRelationship.follow(relay_actor, user, :follow_accept)
assert FollowingRelationship.following(relay_actor) == [user.follower_address]
end
test "returns following addresses without remote user" do
user = insert(:user)
actor = insert(:user, local: false)
- FollowingRelationship.follow(actor, user, "accept")
+ FollowingRelationship.follow(actor, user, :follow_accept)
assert FollowingRelationship.following(actor) == [user.follower_address]
end
test "returns following addresses with local user" do
user = insert(:user)
actor = insert(:user, local: true)
- FollowingRelationship.follow(actor, user, "accept")
+ FollowingRelationship.follow(actor, user, :follow_accept)
assert FollowingRelationship.following(actor) == [
actor.follower_address,