In the past the UI controller method that outputted the goals overview used idGoal=0 to signify it was handling the overview. It would not pass that parameter on to the API, since the API treats idGoal=0 as IDGOAL_ORDER.
This means, currently, we are displaying order goal information in place of the goals overview for scheduled reports. To fix this, we can just not send the idGoal to the API.
The tests are failing, most seem like they are expected. The TSV test however changes the name of the report in the output (though this doesn't happen locally for me).
cc @tsteur for prioritization
If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'.
Will close this one as it's not high priority and issue is not scheduled.