fix: some tests #3471
Annotations
10 errors and 2 warnings
Run checks:
pkg/service/refresh/refresh_test.go#L264
undefined: verifypresentation.PresentationVerificationCheckResult
|
Run checks:
pkg/service/refresh/refresh_test.go#L376
undefined: verifypresentation.PresentationVerificationCheckResult
|
Run checks:
pkg/service/refresh/refresh_test.go#L474
undefined: verifypresentation.PresentationVerificationCheckResult (typecheck)
|
Run checks:
pkg/service/verifypresentation/verifypresentation_service_test.go#L163
cannot use nil as PresentationVerificationResult value in struct literal
|
Run checks:
pkg/service/verifypresentation/verifypresentation_service_test.go#L224
undefined: PresentationVerificationCheckResult
|
Run checks:
pkg/service/verifypresentation/verifypresentation_service_test.go#L261
cannot use nil as PresentationVerificationResult value in struct literal
|
Run checks:
pkg/service/verifypresentation/verifypresentation_service_test.go#L319
undefined: PresentationVerificationCheckResult (typecheck)
|
Run checks:
pkg/restapi/v1/issuer/controller.go#L261
cognitive complexity 22 of func `(*Controller).issueCredential` is high (> 20) (gocognit)
|
Run checks:
pkg/restapi/v1/issuer/controller.go#L234
`if statusOk` has complex nested blocks (complexity: 6) (nestif)
|
Run checks:
pkg/restapi/v1/issuer/controller.go#L276
`if body.Credential != nil` has complex nested blocks (complexity: 6) (nestif)
|
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/
|
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/
|
Loading