Fix refresh_counter_cache test

This commit is contained in:
Roman Chvanikov 2020-05-09 11:49:54 +03:00
parent 01b06d6dbf
commit 5c368b004b

View file

@ -37,7 +37,7 @@ test "counts statuses" 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