Skip to content

Commit 8013bd9

Browse files
authored
fix(tests): test failed due to DST changes (#66859)
https://github.com/getsentry/sentry/blob/bed23aee47d509ed189b484693b0f6428ed1a25d/src/sentry/tasks/summaries/daily_summary.py#L107 Current values for `local_datetime.hour` are ``` local_datetime.hour 0 local_datetime.hour 17 ``` but expected value is 16 and the test expects a single match.
1 parent 1e36472 commit 8013bd9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/sentry/tasks/test_daily_summary.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ def setUp(self):
9393
name="foo", organization=self.organization, teams=[self.team]
9494
)
9595
self.project2.first_event = self.three_days_ago
96-
user_option_service.set_option(
97-
user_id=self.user.id, key="timezone", value="America/Los_Angeles"
98-
)
96+
user_option_service.set_option(user_id=self.user.id, key="timezone", value="Etc/GMT+8")
9997
self.release = self.create_release(project=self.project, date_added=self.now)
10098

10199
def populate_event_data(

0 commit comments

Comments
 (0)