[map] fix map_tests

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
Kiryl Kaveryn 2024-09-02 20:06:41 +04:00 committed by Alexander Borsuk
parent 04648c2a15
commit 9b490968e1

View file

@ -814,6 +814,7 @@ UNIT_TEST(Bookmarks_Sorting)
trackData.m_id = id;
trackData.m_name = kml::LocalizableString{{kml::kDefaultLangCode, name}};
trackData.m_geometry.AddLine({{{0.0, 0.0}, 1}, {{1.0, 0.0}, 2}});
trackData.m_geometry.AddTimestamps({});
if (hours != kUnknownTime)
trackData.m_timestamp = currentTime - hours;
auto const * track = es.CreateTrack(std::move(trackData));