From 7ccf4a90bdb54e0d038bd77d9da32e5f757581d6 Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Thu, 30 Jul 2015 12:39:47 +0300 Subject: [PATCH] Review fixes. --- storage/storage_tests/storage_tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/storage/storage_tests/storage_tests.cpp b/storage/storage_tests/storage_tests.cpp index b481b9dd59..61523881e2 100644 --- a/storage/storage_tests/storage_tests.cpp +++ b/storage/storage_tests/storage_tests.cpp @@ -593,9 +593,9 @@ UNIT_TEST(StorageTest_DeleteCountry) TaskRunner runner; InitStorage(storage, runner); - tests_support::ScopedFile map("Uruguay.mwm", "Map"); - tests_support::ScopedFile routing("Uruguay.mwm.routing", "Map"); - LocalCountryFile file = LocalCountryFile::MakeForTesting("Uruguay"); + tests_support::ScopedFile map("Wonderland.mwm", "map"); + tests_support::ScopedFile routing("Wonderland.mwm.routing", "routing"); + LocalCountryFile file = LocalCountryFile::MakeForTesting("Wonderland"); TEST_EQUAL(MapOptions::MapWithCarRouting, file.GetFiles(), ()); TEST(CountryIndexes::PreparePlaceOnDisk(file), ()); @@ -606,7 +606,7 @@ UNIT_TEST(StorageTest_DeleteCountry) writer.Write(data.data(), data.size()); } - storage.RegisterCountryFiles(make_shared(file)); + storage.RegisterFakeCountryFiles(file); TEST(map.Exists(), ()); TEST(routing.Exists(), ()); TEST(Platform::IsFileExistsByFullPath(bitsPath), (bitsPath));