tests: update tests for totalItems leak fix
[akkoma] / test / web / ostatus / ostatus_test.exs
index 0c63dd84dae8a84e311fa8ce2c903cac224affb7..dbe5de2e21e132a89c74642415c69fa79a37011d 100644 (file)
@@ -530,6 +530,8 @@ defmodule Pleroma.Web.OStatusTest do
         note_object.data
         |> Map.put("type", "Article")
 
+      Cachex.clear(:object_cache)
+
       cs = Object.change(note_object, %{data: note_data})
       {:ok, _article_object} = Repo.update(cs)