simple-server
simple-server copied to clipboard
Add missing diabetes related keys to warm cache
Story card: sc-9053
Because
Inconsistency between registration numbers in the dashboard
This addresses
Adds missing diabetes related keys to warm_cache
Test instructions
- Registration numbers should be consistent across dashboard
This pull request has been linked to Shortcut Story #9053: Discrepancy between dashboard and app counts for registered patients..
Do tests need to be updated? If not, do tests need to be written for this? 😅
There are no tests associated with this function. We will have to write new tests for this.
It looks like there is some test associated with the warm_cahe but I am not sure how to write tests for non-delegate functions https://github.com/simpledotorg/simple-server/blob/f46f76ccef252d64a66c685adec34f25fe39d467/spec/services/reports/region_cache_warmer_spec.rb#L74