Skip to content

feat: add tests for controller #1828

feat: add tests for controller

feat: add tests for controller #1828

Triggered via pull request February 22, 2025 09:52
Status Failure
Total duration 1m 23s
Artifacts 2

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

23 errors
[golangci] controller/questionnaire_test.go#L941: controller/questionnaire_test.go#L941
question.union undefined (cannot refer to unexported field union) (typecheck)
[golangci] controller/questionnaire_test.go#L1095: controller/questionnaire_test.go#L1095
not enough arguments in call to NewQuestionnaire
[golangci] controller/questionnaire_test.go#L1153: controller/questionnaire_test.go#L1153
not enough arguments in call to NewQuestionnaire
[golangci] controller/questionnaire_test.go#L1218: controller/questionnaire_test.go#L1218
not enough arguments in call to NewQuestionnaire
[golangci] controller/questionnaire_test.go#L1232: controller/questionnaire_test.go#L1232
declared and not used: questionnaireID (typecheck)
[golangci] controller/response_test.go#L22: controller/response_test.go#L22
not enough arguments in call to NewResponse
[golangci] controller/response_test.go#L36: controller/response_test.go#L36
declared and not used: questionnaireID (typecheck)
[golangci] controller/response_test.go#L102: controller/response_test.go#L102
not enough arguments in call to NewResponse
[golangci] controller/response_test.go#L116: controller/response_test.go#L116
declared and not used: questionnaireID (typecheck)
[golangci] controller/response_test.go#L181: controller/response_test.go#L181
not enough arguments in call to NewResponse
Lint: controller/questionnaire_test.go#L941
question.union undefined (cannot refer to unexported field union) (typecheck)
Lint: controller/questionnaire_test.go#L1095
not enough arguments in call to NewQuestionnaire
Lint: controller/questionnaire_test.go#L1107
undefined: ctx (typecheck)
Lint: controller/questionnaire_test.go#L1133
undefined: ctx (typecheck)
Lint: controller/questionnaire_test.go#L1153
not enough arguments in call to NewQuestionnaire
Lint: controller/questionnaire_test.go#L1165
undefined: ctx (typecheck)
Lint: controller/questionnaire_test.go#L1218
not enough arguments in call to NewQuestionnaire
Lint: controller/questionnaire_test.go#L1232
declared and not used: questionnaireID (typecheck)
Lint: controller/response_test.go#L22
not enough arguments in call to NewResponse
Lint: controller/response_test.go#L36
declared and not used: questionnaireID (typecheck)

Artifacts

Produced during runtime
Name Size
anke-to
8.83 MB
coverage.txt
6.14 KB