Please sign in to comment.
BUGFIX: Use UTC consistently across all tests for date/time calculations
This ensures that tests will not pass or fail based on whether the test machine is on NZ time. This partially reverts df050ed, which has already been merged. Instead of finding tests that use date calculations, we are now setting the default time zone in SapphireTest so it will apply to the whole test suite and any future tests. Adjust expected values in certain tests for UTC, where the expected values had previously been expressed in NZ time. When creating a temp DB for test fixtures, create the DB connection with timezone UTC.
- Loading branch information...
Showing with 18 additions and 11 deletions.