diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2019-01-24 17:39:43 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2019-01-24 18:46:37 +0300 |
commit | 5729b6e6c565ae3cd083c92bba109b0d7339700b (patch) | |
tree | 9e3ad43a958b9c8aab6354ca3dc119e38586762f /editor | |
parent | 3bf670236fd979f196ed09eb55f050bb7edb354f (diff) |
[search] Add SquareAsStreetTest.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_tests/osm_editor_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_tests/osm_editor_test.cpp b/editor/editor_tests/osm_editor_test.cpp index 9516ab7dbd..4660e672aa 100644 --- a/editor/editor_tests/osm_editor_test.cpp +++ b/editor/editor_tests/osm_editor_test.cpp @@ -291,7 +291,7 @@ void EditorTest::SetIndexTest() { TestCafe cafe({1.0, 1.0}, "London Cafe", "en"); TestStreet street({{0.0, 0.0}, {1.0, 1.0}, {2.0, 2.0}}, "Test street", "en"); - cafe.SetStreet(street); + cafe.SetStreetName(street.GetName()); builder.Add(street); builder.Add(cafe); builder.Add(TestCafe({3.0, 3.0}, "London Cafe", "en")); |