Fix coin_id test

pull/6223/head
sl1depengwyn 2 years ago
parent 68209fffe8
commit 02bd0ab06c
  1. 1
      CHANGELOG.md
  2. 4
      apps/explorer/test/explorer/exchange_rates/source/coin_gecko_test.exs

@ -20,6 +20,7 @@
- [#6106](https://github.com/blockscout/blockscout/pull/6106) - Fix 500 response on `/coin-balance` for empty address
- [#6118](https://github.com/blockscout/blockscout/pull/6118) - Fix unfetched token balances
- [#6163](https://github.com/blockscout/blockscout/pull/6163) - Fix rate limit logs
- [#6223](https://github.com/blockscout/blockscout/pull/6223) - Fix coin_id test
### Chore

@ -115,7 +115,9 @@ defmodule Explorer.ExchangeRates.Source.CoinGeckoTest do
{:ok, bypass: bypass}
end
test "fetches poa coin id by default", %{bypass: bypass} do
test "fetches poa coin id", %{bypass: bypass} do
Application.put_env(:explorer, :coin, "POA")
Bypass.expect(bypass, "GET", "/coins/list", fn conn ->
Conn.resp(conn, 200, @coins_list)
end)

Loading…
Cancel
Save