diff --git a/map/power_management/power_manager.cpp b/map/power_management/power_manager.cpp index fd41458c37..2d15e2218f 100644 --- a/map/power_management/power_manager.cpp +++ b/map/power_management/power_manager.cpp @@ -209,7 +209,7 @@ bool PowerManager::Save() { LOG(LERROR, ("Cannot serialize power manager data into file. Exception:", ex.Msg())); } - catch (FileReader::Exception const & ex) + catch (FileWriter::Exception const & ex) { LOG(LERROR, ("Cannot write power manager file. Exception:", ex.Msg())); } diff --git a/partners_api/partners_api_tests/taxi_engine_tests.cpp b/partners_api/partners_api_tests/taxi_engine_tests.cpp index 5ed83cf343..061b1863f3 100644 --- a/partners_api/partners_api_tests/taxi_engine_tests.cpp +++ b/partners_api/partners_api_tests/taxi_engine_tests.cpp @@ -515,8 +515,7 @@ UNIT_TEST(TaxiEngine_GetProvidersAtPos) engine.SetDelegate(std::make_unique()); providers = engine.GetProvidersAtPos(latlon); - TEST_EQUAL(providers.size(), 1, ()); - TEST_EQUAL(providers[0], taxi::Provider::Type::Uber, ()); + TEST(providers.empty(), ()); engine.SetDelegate(std::make_unique()); providers = engine.GetProvidersAtPos(latlon);