You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/tests/integration/class_date_synchronization_test.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -427,7 +427,8 @@ func runTestStartDateUpdatesWhenEventMovedEarlier(t *testing.T, env *TestEnv, fa
427
427
ExpectStatus(http.StatusOK)
428
428
429
429
updatedClass:=updatedClassResp.GetData()
430
-
require.Equal(t, classStartDate, updatedClass.StartDt, "Class start date should remain at the original kickoff when earlier sessions are only cancelled")
430
+
expectedStartDate:=time.Date(2025, 12, 20, 18, 0, 0, 0, time.UTC) // Original RRULE start date
431
+
require.Equal(t, expectedStartDate, updatedClass.StartDt, "Class start date should sync with original RRULE start date when rescheduled events exist")
0 commit comments