forked from AkkomaGang/akkoma
Fix refresh_counter_cache test
This commit is contained in:
parent
01b06d6dbf
commit
5c368b004b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ defmodule Mix.Tasks.Pleroma.RefreshCounterCacheTest do
|
||||||
|
|
||||||
assert capture_io(fn -> Mix.Tasks.Pleroma.RefreshCounterCache.run([]) end) =~ "Done\n"
|
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()
|
Pleroma.Stats.get_status_visibility_count()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue