[storage] Fixed a test.

This commit is contained in:
Maxim Pimenov 2018-02-15 14:17:55 +03:00 committed by Vlad Mihaylenko
parent 4b869c9080
commit e64da0aa38

View file

@ -1005,12 +1005,10 @@ UNIT_TEST(StorageTest_ObsoleteMapsRemoval)
tests_support::ScopedDir dir1("1");
tests_support::ScopedFile map1(dir1, country, MapOptions::Map);
LocalCountryFile file1(dir1.GetFullPath(), country, 1 /* version */);
CountryIndexes::PreparePlaceOnDisk(file1);
tests_support::ScopedDir dir2("2");
tests_support::ScopedFile map2(dir2, country, MapOptions::Map);
LocalCountryFile file2(dir2.GetFullPath(), country, 2 /* version */);
CountryIndexes::PreparePlaceOnDisk(file2);
TEST(map1.Exists(), ());
TEST(map2.Exists(), ());