Skip to content

fix time zone for CustomEmojiService test

What does this MR do?

Set the session timezone at the start of the test.

Otherwise, the timestamps that the test uses for queries are interpreted as UTC (because they have a TZ in the string), but the truncated date is interpreted in the session timezone, which defaults to the server timezone, which can be anything.

Thanks to @fEmber for noticing.

While I was there, I fixed some names that annoyed me.

Contribution Guidelines

By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this merge request

Merge request reports

Loading