diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-05-27 21:01:54 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2021-05-27 21:01:54 +0000 |
commit | a01093c505221d4a2ae2e0713680285348f4faf5 (patch) | |
tree | c23070805364e2e8af3f53a56cf66d01238a7b36 /test | |
parent | f34e22bba22e041a72ae379e3ac3807a00af9a8e (diff) | |
parent | cd4352a86fe37983cbc617c42f3f6c8a631fb9b3 (diff) | |
download | pleroma-a01093c505221d4a2ae2e0713680285348f4faf5.tar.gz pleroma-a01093c505221d4a2ae2e0713680285348f4faf5.zip |
Merge branch 'featured-totalItems' into 'develop'
Add missing totalItems field for featured collections
See merge request pleroma/pleroma!3416
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/activity_pub/activity_pub_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/activity_pub/activity_pub_controller_test.exs b/test/pleroma/web/activity_pub/activity_pub_controller_test.exs index cea4b3a97..c1e13c7cb 100644 --- a/test/pleroma/web/activity_pub/activity_pub_controller_test.exs +++ b/test/pleroma/web/activity_pub/activity_pub_controller_test.exs @@ -1966,7 +1966,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do %{nickname: nickname, featured_address: featured_address, pinned_objects: pinned_objects} = refresh_record(user) - %{"id" => ^featured_address, "orderedItems" => items} = + %{"id" => ^featured_address, "orderedItems" => items, "totalItems" => 2} = conn |> get("/users/#{nickname}/collections/featured") |> json_response(200) |