Test course feature for lecturers #1482
Annotations
11 errors and 1 warning
|
golangci-lint:
tools/testutils/testdata.go#L587
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
golangci-lint:
api/audit_test.go#L11
could not import github.com/TUM-Dev/gocast/tools/testutils (-: # github.com/TUM-Dev/gocast/tools/testutils
|
golangci-lint:
tools/testutils/testdata.go#L587
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse)) (typecheck)
|
golangci-lint:
api/courses_test.go#L72
cannot use mock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L115
cannot use mock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L1050
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L1079
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L1146
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L1173
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
golangci-lint:
api/courses_test.go#L1200
cannot use streamsMock (variable of type *mock_dao.MockStreamsDao) as dao.StreamsDao value in return statement: *mock_dao.MockStreamsDao does not implement dao.StreamsDao (missing method CreateOrGetTestCourse) (typecheck)
|
Run actions/setup-go@v4
Restore cache failed: Dependencies file is not found in /home/runner/work/gocast/gocast. Supported file pattern: go.sum
|
Loading