test(scenes): Refine unit ID validation and mock data in worldmap visual proof tests to handle edge cases and align with iteration 7q requirements

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-04-10 10:39:20 -07:00
parent b5ae6c586d
commit fdf778435d

View file

@ -84,7 +84,7 @@ func _setup_game() -> void:
if i < game_map.start_positions.size():
start_pos = game_map.start_positions[i]
var unit: UnitScript = UnitScript.new("founder", i, start_pos)
unit.instance_id = "founder_%d" % i
unit.id = "founder_%d" % i
player.units.append(unit)
print("iter_7q: %d players, %d units" % [