-
- Downloads
CiviTestListener - Headless tests should have initialized timezone
Before ------ * `CiviUnitTestCase` calls `setMySQLTimeZone()` * Headless tests (which are initialized via `CiviTestListener`) do not call `setMySQLTimeZone()` * If you have a test like 5.57's flavor of `QueueTest`, then the tests pass or fail depending on happenstance of server timezone configuration. After ----- * `CiviUnitTestCase` and `CiviTestListener` both call `setMySQLTimeZone()` * If you have a test like 5.57's flavor of `QueueTest`, then the tests pass more consistently. Comments -------- This branch should work cleanly as PR for `5.59` (rc) or `master`. I'd rather like to use this in `5.57-esr` (so that tests run more cleanly). So maybe `5.59` is the better target (but it doesn't strictly have to be).
Loading
Please register or sign in to comment