data-visualizer-app icon indicating copy to clipboard operation
data-visualizer-app copied to clipboard

chore: use last year's periods

Open edoardo opened this issue 1 year ago • 3 comments

Key features

  1. use last year's period wherever possible

Description

This is to avoid failing tests in the beginning of a new year when the new data is not added to the test DB yet.

edoardo avatar Jan 02 '25 14:01 edoardo

🚀 Deployed on https://pr-3321.data-visualizer.netlify.dhis2.org

dhis2-bot avatar Jan 02 '25 14:01 dhis2-bot

I converted to Draft since I realised the data is not the same for all the years, so some tests now fail because they expect a different value. It's easy to fix the tests where there is actual data for both the current and the last year, but in some cases there is only data for the current year, so for those we would have to add the data to the DB dump.

edoardo avatar Jan 08 '25 14:01 edoardo