mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-16 16:08:39 +00:00
make_timesheet(simulate=True) logs at now_datetime(); when the suite runs late in the day under the site timezone the 2h log crosses midnight, so its to_time falls outside the report's `to_time <= end-of-day` bound and the submitted timesheet is (correctly) excluded — making test_submitted_timesheet_in_summary fail in an evening window (observed at 22:51 IST in CI). Pin the log to a fixed mid-day window on today so the assertion is time-of-day independent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>