Fix refresh_counter_cache test
This commit is contained in:
parent
01b06d6dbf
commit
5c368b004b
@ -37,7 +37,7 @@ test "counts statuses" 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 New Issue
Block a user