Fix refresh_counter_cache test
authorRoman Chvanikov <chvanikoff@pm.me>
Sat, 9 May 2020 08:49:54 +0000 (11:49 +0300)
committerRoman Chvanikov <chvanikoff@pm.me>
Sat, 9 May 2020 08:49:54 +0000 (11:49 +0300)
test/tasks/refresh_counter_cache_test.exs

index b63f44c082034b21dc1620e9b866a410767a61e4..378664148c2cadd99bb74f2aad9b758316f959df 100644 (file)
@@ -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