You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tests): anchor calendar tests to past dates to avoid user-status side effects (#426)
Calendar tests create events anchored to `now`. Nextcloud's user-status
app auto-sets a `📅 In a meeting` icon for admin when any event overlaps
the next 5 minutes, and caches that for 5 min.
`user_status_test.py::test_get_status_async[app_async-1 2 3]` runs
shortly after and breaks on `assert status_icon is None`.
Moved the three offending events ~400 days back. CRUD semantics
unchanged, side-effect gone.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Tests**
* Updated calendar tests to anchor events to a fixed historic baseline
(400 days in the past), revised lifecycle and date-range scenarios, and
refreshed expected event summaries so searches reliably include or
exclude intended items across environments.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments