diff options
author | William Pitcock <nenolod@dereferenced.org> | 2019-02-14 03:22:54 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2019-02-14 03:22:54 +0000 |
commit | e031cc6473e12cae7249324fe6fdea5287b6304a (patch) | |
tree | 7e3f3acecc8378500472746cf17505a093df345c | |
parent | 72ba5b4ab73ff725b91888e38af612082f8df5ad (diff) | |
download | pleroma-e031cc6473e12cae7249324fe6fdea5287b6304a.tar.gz |
tests: update tests for totalItems leak fix
-rw-r--r-- | test/web/activity_pub/activity_pub_controller_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/activity_pub_controller_test.exs b/test/web/activity_pub/activity_pub_controller_test.exs index 570bee6b3..9f6d87caa 100644 --- a/test/web/activity_pub/activity_pub_controller_test.exs +++ b/test/web/activity_pub/activity_pub_controller_test.exs @@ -397,7 +397,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do |> json_response(200) assert result["first"]["orderedItems"] == [] - assert result["totalItems"] == 1 + assert result["totalItems"] == 0 end test "it works for more than 10 users", %{conn: conn} do @@ -452,7 +452,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do |> json_response(200) assert result["first"]["orderedItems"] == [] - assert result["totalItems"] == 1 + assert result["totalItems"] == 0 end test "it works for more than 10 users", %{conn: conn} do |