Skip to content

fix: some tests

fix: some tests #3471

Triggered via push November 3, 2024 23:32
Status Failure
Total duration 10m 41s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 6 warnings
Checks: pkg/service/refresh/refresh_test.go#L264
undefined: verifypresentation.PresentationVerificationCheckResult
Checks: pkg/service/refresh/refresh_test.go#L376
undefined: verifypresentation.PresentationVerificationCheckResult
Checks: pkg/service/refresh/refresh_test.go#L474
undefined: verifypresentation.PresentationVerificationCheckResult (typecheck)
Checks: pkg/service/verifypresentation/verifypresentation_service_test.go#L163
cannot use nil as PresentationVerificationResult value in struct literal
Checks: pkg/service/verifypresentation/verifypresentation_service_test.go#L224
undefined: PresentationVerificationCheckResult
Checks: pkg/service/verifypresentation/verifypresentation_service_test.go#L261
cannot use nil as PresentationVerificationResult value in struct literal
Checks: pkg/service/verifypresentation/verifypresentation_service_test.go#L319
undefined: PresentationVerificationCheckResult (typecheck)
Checks: pkg/restapi/v1/issuer/controller.go#L261
cognitive complexity 22 of func `(*Controller).issueCredential` is high (> 20) (gocognit)
Checks: pkg/restapi/v1/issuer/controller.go#L234
`if statusOk` has complex nested blocks (complexity: 6) (nestif)
Checks: pkg/restapi/v1/issuer/controller.go#L276
`if body.Credential != nil` has complex nested blocks (complexity: 6) (nestif)
UnitTest: pkg/service/refresh/refresh_test.go#L264
undefined: verifypresentation.PresentationVerificationCheckResult
UnitTest: pkg/service/refresh/refresh_test.go#L376
undefined: verifypresentation.PresentationVerificationCheckResult
UnitTest: pkg/service/refresh/refresh_test.go#L474
undefined: verifypresentation.PresentationVerificationCheckResult
UnitTest: pkg/service/verifypresentation/verifypresentation_service_test.go#L163
cannot use nil as PresentationVerificationResult value in struct literal
UnitTest: pkg/service/verifypresentation/verifypresentation_service_test.go#L224
undefined: PresentationVerificationCheckResult
UnitTest: pkg/service/verifypresentation/verifypresentation_service_test.go#L261
cannot use nil as PresentationVerificationResult value in struct literal
UnitTest: pkg/service/verifypresentation/verifypresentation_service_test.go#L319
undefined: PresentationVerificationCheckResult
UnitTest
Process completed with exit code 2.
BDDTest
Process completed with exit code 2.
Checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
UnitTest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
UnitTest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BDDTest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
BDDTest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/