projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b06d6
)
Fix refresh_counter_cache test
author
Roman Chvanikov
<chvanikoff@pm.me>
Sat, 9 May 2020 08:49:54 +0000
(11:49 +0300)
committer
Roman Chvanikov
<chvanikoff@pm.me>
Sat, 9 May 2020 08:49:54 +0000
(11:49 +0300)
test/tasks/refresh_counter_cache_test.exs
patch
|
blob
|
history
diff --git
a/test/tasks/refresh_counter_cache_test.exs
b/test/tasks/refresh_counter_cache_test.exs
index b63f44c082034b21dc1620e9b866a410767a61e4..378664148c2cadd99bb74f2aad9b758316f959df 100644
(file)
--- 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