diff options
author | rinpatch <rinpatch@sdf.org> | 2020-04-16 21:28:52 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-04-16 21:28:52 +0300 |
commit | 942d7467ca28c898f914539ae85ea3044c36ebbc (patch) | |
tree | 03d909dfcf5974838919076c6ae994515b0c1f84 /test/web/common_api | |
parent | e89078ac2a27bb0a833c982dbb5eef63ddea3cc0 (diff) | |
parent | 252528a4b9ca3a5d92f1676c44989ad7d8777de1 (diff) | |
download | pleroma-942d7467ca28c898f914539ae85ea3044c36ebbc.tar.gz pleroma-942d7467ca28c898f914539ae85ea3044c36ebbc.zip |
Merge branch 'develop' into features/remove-user-source_data
Diffstat (limited to 'test/web/common_api')
-rw-r--r-- | test/web/common_api/common_api_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index 5e78c5758..e130736ec 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -553,7 +553,7 @@ defmodule Pleroma.Web.CommonAPITest do assert {:ok, follower, followed, %{id: activity_id, data: %{"state" => "pending"}}} = CommonAPI.follow(follower, followed) - assert User.get_follow_state(follower, followed) == "pending" + assert User.get_follow_state(follower, followed) == :follow_pending assert {:ok, follower} = CommonAPI.unfollow(follower, followed) assert User.get_follow_state(follower, followed) == nil @@ -575,7 +575,7 @@ defmodule Pleroma.Web.CommonAPITest do assert {:ok, follower, followed, %{id: activity_id, data: %{"state" => "pending"}}} = CommonAPI.follow(follower, followed) - assert User.get_follow_state(follower, followed) == "pending" + assert User.get_follow_state(follower, followed) == :follow_pending assert {:ok, follower} = CommonAPI.unfollow(follower, followed) assert User.get_follow_state(follower, followed) == nil |