mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-04 02:39:14 +02: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