From 94aabbb00c5213a3534c9737a103b3f73c13a448 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 9 Aug 2024 14:37:37 +0200 Subject: [PATCH] Fixed missing mock methods --- mock_dao/statistics.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/mock_dao/statistics.go b/mock_dao/statistics.go index 349f3d2ea..c1c950e7e 100644 --- a/mock_dao/statistics.go +++ b/mock_dao/statistics.go @@ -5,6 +5,7 @@ package mock_dao import ( + "github.com/crewjam/httperr" reflect "reflect" dao "github.com/TUM-Dev/gocast/dao" @@ -168,3 +169,22 @@ func (mr *MockStatisticsDaoMockRecorder) GetStudentActivityCourseStats(courseID, mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStudentActivityCourseStats", reflect.TypeOf((*MockStatisticsDao)(nil).GetStudentActivityCourseStats), courseID, live) } + +func (mr *MockStatisticsDaoMockRecorder) GetLectureNumVodViews(streamID uint) (int, error) { + panic(httperr.NotImplemented) +} +func (mr *MockStatisticsDaoMockRecorder) GetLectureNumLiveViews(streamID uint) (int, error) { + panic(httperr.NotImplemented) +} +func (mr *MockStatisticsDaoMockRecorder) GetLectureNumVodViewsPerDay(streamID uint) ([]dao.Stat, error) { + panic(httperr.NotImplemented) +} +func (mr *MockStatisticsDaoMockRecorder) GetLectureStatsWeekdays(courseID uint, streamID uint) ([]dao.Stat, error) { + panic(httperr.NotImplemented) +} +func (mr *MockStatisticsDaoMockRecorder) GetLectureStatsHourly(courseID uint, streamID uint) ([]dao.Stat, error) { + panic(httperr.NotImplemented) +} +func (mr *MockStatisticsDaoMockRecorder) GetLectureStats(courseID uint, lectureID uint) ([]dao.Stat, error) { + panic(httperr.NotImplemented) +}