mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-17 12:02:26 +01:00
fix:#20 test for mockClock in winter semester
This commit is contained in:
@@ -24,8 +24,8 @@ import (
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
func UpdateCourse(service serviceModel.Service) {
|
||||
currentSemesters := functions.CalculateSemesterList(time.RealClock{})
|
||||
func UpdateCourse(service serviceModel.Service, clock time.Clock) {
|
||||
currentSemesters := functions.CalculateSemesterList(clock)
|
||||
|
||||
var seminarGroups []model.SeminarGroup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user