diff options
author | lain <lain@soykaf.club> | 2020-04-15 14:41:43 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-15 14:41:43 +0200 |
commit | 44bfb491eae00d541e6d11c8b52b5de5bc0bd34e (patch) | |
tree | 0fae87b11ceb4696075927c7f77228e59bb6926c /test/web/common_api/common_api_test.exs | |
parent | 64c78581fe397b6d9356c52cf3f43becd2ff3b4e (diff) | |
parent | ad8630b95a691d01ec49344fd1a7578860728d63 (diff) | |
download | pleroma-44bfb491eae00d541e6d11c8b52b5de5bc0bd34e.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-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 1aea06d24..168721c81 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -586,7 +586,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 @@ -608,7 +608,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 |