Skip to content

5609 fix: [GOLIUM] Tests for http fail in the local environment (#122) #338

5609 fix: [GOLIUM] Tests for http fail in the local environment (#122)

5609 fix: [GOLIUM] Tests for http fail in the local environment (#122) #338

Triggered via push January 16, 2024 10:18
Status Failure
Total duration 1m 45s
Artifacts

sonarcloud.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: mock/http/server.go#L49
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
lint: test/acceptance/steps/shared/session.go#L28
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/acceptance/steps/shared/session.go#L34
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/session.go#L55
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: steps/redis/session.go#L62
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L49
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L50
unused-parameter: parameter 'db' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L57
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L58
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L59
unused-parameter: parameter 'value' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/acceptance/steps/shared/session.go#L28
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/acceptance/steps/shared/session.go#L34
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/session.go#L55
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: steps/redis/session.go#L62
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L49
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L50
unused-parameter: parameter 'db' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L57
unused-parameter: parameter 'client' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L58
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L59
unused-parameter: parameter 'value' seems to be unused, consider removing or renaming it as _ (revive)
lint: steps/redis/client_mock.go#L60
unused-parameter: parameter 'expiration' seems to be unused, consider removing or renaming it as _ (revive)