diff options
| author | rinpatch <rinpatch@sdf.org> | 2019-09-25 15:59:04 +0300 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2019-09-26 03:45:58 +0300 |
| commit | d4a76b0a6ffba70c0f0bc10a4175cfdd99f8d574 (patch) | |
| tree | 3e5b248f591ef89ce159c028cc9d4cb13a713be1 /test/web/activity_pub/activity_pub_controller_test.exs | |
| parent | e91f0e280142148dbebecf05c1e564e8b01ccf46 (diff) | |
| download | pleroma-d4a76b0a6ffba70c0f0bc10a4175cfdd99f8d574.tar.gz pleroma-d4a76b0a6ffba70c0f0bc10a4175cfdd99f8d574.zip | |
Don't embed the first page in inboxes/outboxes and refactor the views to
follow View/Controller pattern
Note that I mentioned the change in 1.1 section because I intend to
backport this, if this is not needed I will move it back to Unreleased.
Diffstat (limited to 'test/web/activity_pub/activity_pub_controller_test.exs')
| -rw-r--r-- | test/web/activity_pub/activity_pub_controller_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/activity_pub/activity_pub_controller_test.exs b/test/web/activity_pub/activity_pub_controller_test.exs index 9698c7099..6fb7a7dda 100644 --- a/test/web/activity_pub/activity_pub_controller_test.exs +++ b/test/web/activity_pub/activity_pub_controller_test.exs @@ -473,7 +473,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do conn |> assign(:user, user) |> put_req_header("accept", "application/activity+json") - |> get("/users/#{user.nickname}/inbox") + |> get("/users/#{user.nickname}/inbox?page=true") assert response(conn, 200) =~ note_object.data["content"] end @@ -559,7 +559,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do conn = conn |> put_req_header("accept", "application/activity+json") - |> get("/users/#{user.nickname}/outbox") + |> get("/users/#{user.nickname}/outbox?page=true") assert response(conn, 200) =~ note_object.data["content"] end @@ -571,7 +571,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do conn = conn |> put_req_header("accept", "application/activity+json") - |> get("/users/#{user.nickname}/outbox") + |> get("/users/#{user.nickname}/outbox?page=true") assert response(conn, 200) =~ announce_activity.data["object"] end |
