diff options
author | stwf <steven.fuchs@dockyard.com> | 2019-08-14 11:59:33 -0400 |
---|---|---|
committer | stwf <steven.fuchs@dockyard.com> | 2019-08-14 11:59:33 -0400 |
commit | d81f63845a71e5cc60d95007ecaa2aea52a90422 (patch) | |
tree | 769a0ca38a7f381543f5bc29dbf6137b579cf5ca /test | |
parent | 574856ef01fae7ea411ec363929ab9a22d76a65d (diff) | |
download | pleroma-d81f63845a71e5cc60d95007ecaa2aea52a90422.tar.gz |
Implement Pleroma.Stats as GenServer
Diffstat (limited to 'test')
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 2febe8b3a..112e272f9 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -2624,7 +2624,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do |> Changeset.put_embed(:info, info_change) |> User.update_and_set_cache() - Pleroma.Stats.update_stats() + Pleroma.Stats.force_update() conn = get(conn, "/api/v1/instance") @@ -2642,7 +2642,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do insert(:user, %{local: false, nickname: "u@peer1.com"}) insert(:user, %{local: false, nickname: "u@peer2.com"}) - Pleroma.Stats.update_stats() + Pleroma.Stats.force_update() conn = get(conn, "/api/v1/instance/peers") |