Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AppTP: Flaky whenLocalDateNowThenReturnWeeklyCohort test (#5426)
Task/Issue URL: https://app.asana.com/0/1200905986587319/1209058892339948/f ### Description Fixed flaky test. `whenLocalDateNowThenReturnWeeklyCohort` should assert on week based year and not the year directly as this makes the expected value to be incorrect in edge-cases where the date is a date in a year and falls into a previous year week. I.e 2025-01-01. ### Steps to test this PR Note: PR Unit tests should pass as it was submitted the same day that caused the failure (2024-01-30). - [x] change `whenLocalDateNowThenReturnWeeklyCohort` date to be `LocalDate.of(2024, 1, 30)` - [x] verify test passes ### NO UI changes
- Loading branch information