diff --git a/lib/services/price.dart b/lib/services/price.dart index af2527696..924c77f74 100644 --- a/lib/services/price.dart +++ b/lib/services/price.dart @@ -79,7 +79,7 @@ class PriceAPI { } final externalCalls = Prefs.instance.externalCalls; - if (!externalCalls) { + if (!Logger.isTestEnv && !externalCalls) { Logging.instance.log("User does not want to use external calls", level: LogLevel.Info); return _cachedPrices; @@ -124,7 +124,7 @@ class PriceAPI { static Future?> availableBaseCurrencies() async { final externalCalls = Prefs.instance.externalCalls; - if (!externalCalls) { + if (!Logger.isTestEnv && !externalCalls) { Logging.instance.log("User does not want to use external calls", level: LogLevel.Info); return null;