Skip to content

Commit db067e7

Browse files
Fix the incorrect datahandle in mock tests (#1051)
Fix the incorrect datahandle in mock tests, should be a unique name Relates-To: OLPEDGE-2299 Signed-off-by: Mykhailo Kuchma <ext-mykhailo.kuchma@here.com>
1 parent aeddea3 commit db067e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/common/ReadDefaultResponses.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ std::string ReadDefaultResponses::GenerateQuadTreeResponse(
131131
FillSubQuads(level_depth, sub_quads_vector);
132132

133133
for (const auto& sub_quad : sub_quads_vector) {
134-
sub_quads[sub_quad] = {GenerateDataHandle(std::to_string(sub_quad)), 0};
134+
const auto partition = root_tile.AddedSubkey64(sub_quad).ToHereTile();
135+
sub_quads[sub_quad] = {GenerateDataHandle(partition), 0};
135136
}
136137
}
137138
}

0 commit comments

Comments
 (0)