diff --git a/apps/block_scout_web/test/block_scout_web/controllers/api/v2/stats_controller_test.exs b/apps/block_scout_web/test/block_scout_web/controllers/api/v2/stats_controller_test.exs index 907569ccb3..bed5187761 100644 --- a/apps/block_scout_web/test/block_scout_web/controllers/api/v2/stats_controller_test.exs +++ b/apps/block_scout_web/test/block_scout_web/controllers/api/v2/stats_controller_test.exs @@ -38,13 +38,13 @@ defmodule BlockScoutWeb.API.V2.StatsControllerTest do describe "/stats/charts/market" do setup do - configuration = Application.get_env(:explorer, Explorer.ExchangeRates) - Application.put_env(:explorer, Explorer.ExchangeRates, enabled: false) + configuration = Application.get_env(:explorer, Explorer.Market.MarketHistoryCache) + Application.put_env(:explorer, Explorer.Market.MarketHistoryCache, cache_period: 0) :ok on_exit(fn -> - Application.put_env(:explorer, Explorer.ExchangeRates, configuration) + Application.put_env(:explorer, Explorer.Market.MarketHistoryCache, configuration) end) end