diff options
author | rinpatch <rinpatch@sdf.org> | 2019-07-31 19:37:55 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-07-31 21:09:13 +0300 |
commit | 301ea0dc0466371032f44f3e936d1b951ed9784c (patch) | |
tree | 2f986005093c7b422675bb17c77f2f6fb0582619 /test/web/activity_pub/activity_pub_test.exs | |
parent | f42719506c539a4058c52d3a6e4a828948ac74ce (diff) | |
download | pleroma-301ea0dc0466371032f44f3e936d1b951ed9784c.tar.gz pleroma-301ea0dc0466371032f44f3e936d1b951ed9784c.zip |
Add tests for counters being updated on follow
Diffstat (limited to 'test/web/activity_pub/activity_pub_test.exs')
-rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 853c93ab5..3d9a678dd 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -1149,16 +1149,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do "http://localhost:4001/users/masto_closed/followers?page=1" -> %Tesla.Env{status: 403, body: ""} - "http://localhost:4001/users/masto_closed/following?page=1" -> - %Tesla.Env{ - status: 200, - body: - Jason.encode!(%{ - "id" => "http://localhost:4001/users/masto_closed/following?page=1", - "type" => "OrderedCollectionPage" - }) - } - _ -> apply(HttpRequestMock, :request, [env]) end @@ -1182,16 +1172,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do "http://localhost:4001/users/masto_closed/following?page=1" -> %Tesla.Env{status: 403, body: ""} - "http://localhost:4001/users/masto_closed/followers?page=1" -> - %Tesla.Env{ - status: 200, - body: - Jason.encode!(%{ - "id" => "http://localhost:4001/users/masto_closed/followers?page=1", - "type" => "OrderedCollectionPage" - }) - } - _ -> apply(HttpRequestMock, :request, [env]) end |