diff --git a/services/data-manager/service/fetch/v1/fetchSeminarEventService_test.go b/services/data-manager/service/fetch/v1/fetchSeminarEventService_test.go index 8f88b4a..8398adb 100644 --- a/services/data-manager/service/fetch/v1/fetchSeminarEventService_test.go +++ b/services/data-manager/service/fetch/v1/fetchSeminarEventService_test.go @@ -523,7 +523,7 @@ func Test_isSummerSemester(t *testing.T) { args: args{ month: time.September, }, - want: false, + want: true, }, } for _, tt := range tests { @@ -588,35 +588,3 @@ func Test_isWinterSemester(t *testing.T) { }) } } - -func Test_parseSeminarGroup(t *testing.T) { - type args struct { - result string - } - tests := []struct { - name string - args args - want model.SeminarGroup - }{ - { - name: "Test 1", - args: args{ - result: "B435 SBB (wpf) & B348 BIB (pf) 5. FS", - }, - want: model.SeminarGroup{ - Events: []model.Event{ - { - Name: "B435 SBB (wpf) & B348 BIB (pf) 5. FS", - }, - }, - }, - }, - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if got := parseSeminarGroup(tt.args.result); !reflect.DeepEqual(got, tt.want) { - t.Errorf("parseSeminarGroup() = %v, want %v", got, tt.want) - } - }) - } -}