From: Roman Chvanikov Date: Sat, 9 May 2020 08:49:54 +0000 (+0300) Subject: Fix refresh_counter_cache test X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5c368b004b1a736836d4bc9f68c54714a33056cd;p=akkoma Fix refresh_counter_cache test --- diff --git a/test/tasks/refresh_counter_cache_test.exs b/test/tasks/refresh_counter_cache_test.exs index b63f44c08..378664148 100644 --- a/test/tasks/refresh_counter_cache_test.exs +++ b/test/tasks/refresh_counter_cache_test.exs @@ -37,7 +37,7 @@ defmodule Mix.Tasks.Pleroma.RefreshCounterCacheTest do assert capture_io(fn -> Mix.Tasks.Pleroma.RefreshCounterCache.run([]) end) =~ "Done\n" - assert %{direct: 3, private: 4, public: 1, unlisted: 2} = + assert %{"direct" => 3, "private" => 4, "public" => 1, "unlisted" => 2} = Pleroma.Stats.get_status_visibility_count() end end