Skip to content

Commit

Permalink
Fix faulty test. June has 30 days, so the test would fail when ran on…
Browse files Browse the repository at this point in the history
… 31st in whatever the github timezone in. (once in a few months)
  • Loading branch information
508312 committed Jan 31, 2025
1 parent dfdfdd4 commit 354d967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/events/models/test_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_semester_with_month_lt_7_returns_spring(self):
time = datetime.datetime(
year=current_time.year,
month=6,
day=current_time.day,
day=15,
)
self.event.start_time = time

Expand Down

0 comments on commit 354d967

Please sign in to comment.