def METHOD_NAME(project_with_injection):
    """Check that plans with incorrect IDs are fixed."""
    _, _, plan, _, _, unrelated = create_dummy_plans()
    plan.id = "/plans/" + plan.id
    assert plan.id.startswith("/plans//plans")
    check_plan_id(fix=True)
    assert not plan.id.startswith("/plans//plans")