summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-05-27 12:04:42 -0500
committerMark Felder <feld@feld.me>2021-05-27 12:17:31 -0500
commit46948537664a4296e7d5c517cbdbf3adccef1272 (patch)
tree3c6fac237cd9abf8e45b844c7d8f687d51229ebb /test
parentf34e22bba22e041a72ae379e3ac3807a00af9a8e (diff)
downloadpleroma-46948537664a4296e7d5c517cbdbf3adccef1272.tar.gz
pleroma-46948537664a4296e7d5c517cbdbf3adccef1272.zip
Provide totalItems field for featured collections
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/activity_pub/activity_pub_controller_test.exs2
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)