Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'storage/storage_integration_tests/storage_update_tests.cpp')
-rw-r--r--storage/storage_integration_tests/storage_update_tests.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/storage_integration_tests/storage_update_tests.cpp b/storage/storage_integration_tests/storage_update_tests.cpp
index 6aa2339076..c250d9f219 100644
--- a/storage/storage_integration_tests/storage_update_tests.cpp
+++ b/storage/storage_integration_tests/storage_update_tests.cpp
@@ -21,6 +21,8 @@ using namespace storage;
namespace
{
+static FrameworkParams const kFrameworkParams(false /* m_enableLocalAds */, false /* m_enableDiffs */);
+
string const kCountriesTxtFile = COUNTRIES_FILE;
string const kMwmVersion1 = "160316";
@@ -87,7 +89,7 @@ UNIT_TEST(SmallMwms_Update_Test)
TEST(DownloadFile(GetCountriesTxtWebUrl(kMwmVersion1), GetCountriesTxtFilePath(), kCountriesTxtFileSize1), ());
{
- Framework f;
+ Framework f(kFrameworkParams);
auto & storage = f.GetStorage();
string const version = strings::to_string(storage.GetCurrentDataVersion());
TEST(version::IsSingleMwm(storage.GetCurrentDataVersion()), ());
@@ -125,7 +127,7 @@ UNIT_TEST(SmallMwms_Update_Test)
TEST(DownloadFile(GetCountriesTxtWebUrl(kMwmVersion2), GetCountriesTxtFilePath(), kCountriesTxtFileSize2), ());
{
- Framework f;
+ Framework f(kFrameworkParams);
auto & storage = f.GetStorage();
string const version = strings::to_string(storage.GetCurrentDataVersion());
TEST(version::IsSingleMwm(storage.GetCurrentDataVersion()), ());