Skip to content

feat: more refresh tests

Codecov / codecov/patch failed Aug 13, 2024 in 1s

82.68% of diff hit (target 85.00%)

View this Pull Request on Codecov

82.68% of diff hit (target 85.00%)

Annotations

Check warning on line 29 in internal/utils/map.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/map.go#L29

Added line #L29 was not covered by tests

Check warning on line 36 in internal/utils/map.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/map.go#L36

Added line #L36 was not covered by tests

Check warning on line 64 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L64

Added line #L64 was not covered by tests

Check warning on line 104 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L104

Added line #L104 was not covered by tests

Check warning on line 124 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L124

Added line #L124 was not covered by tests

Check warning on line 144 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L144

Added line #L144 was not covered by tests

Check warning on line 164 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L164

Added line #L164 was not covered by tests

Check warning on line 204 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L200-L204

Added lines #L200 - L204 were not covered by tests

Check warning on line 209 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L206-L209

Added lines #L206 - L209 were not covered by tests

Check warning on line 341 in pkg/kms/aws/service_mocks.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/kms/aws/service_mocks.go#L339-L341

Added lines #L339 - L341 were not covered by tests

Check warning on line 52 in pkg/restapi/v1/refresh/controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restapi/v1/refresh/controller.go#L49-L52

Added lines #L49 - L52 were not covered by tests

Check warning on line 59 in pkg/restapi/v1/refresh/controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restapi/v1/refresh/controller.go#L55-L59

Added lines #L55 - L59 were not covered by tests

Check warning on line 64 in pkg/restapi/v1/refresh/controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restapi/v1/refresh/controller.go#L62-L64

Added lines #L62 - L64 were not covered by tests

Check warning on line 71 in pkg/restapi/v1/refresh/controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restapi/v1/refresh/controller.go#L67-L71

Added lines #L67 - L71 were not covered by tests

Check warning on line 76 in pkg/restapi/v1/refresh/controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restapi/v1/refresh/controller.go#L74-L76

Added lines #L74 - L76 were not covered by tests

Check warning on line 104 in pkg/restapi/v1/refresh/controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/restapi/v1/refresh/controller.go#L103-L104

Added lines #L103 - L104 were not covered by tests

Check warning on line 46 in pkg/service/issuecredential/prepare_credential.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/issuecredential/prepare_credential.go#L46

Added line #L46 was not covered by tests

Check warning on line 70 in pkg/service/issuecredential/prepare_credential.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/issuecredential/prepare_credential.go#L70

Added line #L70 was not covered by tests

Check warning on line 74 in pkg/service/issuecredential/prepare_credential.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/issuecredential/prepare_credential.go#L74

Added line #L74 was not covered by tests

Check warning on line 117 in pkg/service/issuecredential/prepare_credential.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/issuecredential/prepare_credential.go#L117

Added line #L117 was not covered by tests

Check warning on line 132 in pkg/service/issuecredential/prepare_credential.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/issuecredential/prepare_credential.go#L132

Added line #L132 was not covered by tests

Check warning on line 145 in pkg/service/issuecredential/prepare_credential.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/issuecredential/prepare_credential.go#L142-L145

Added lines #L142 - L145 were not covered by tests

Check warning on line 159 in pkg/service/issuecredential/prepare_credential.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/issuecredential/prepare_credential.go#L153-L159

Added lines #L153 - L159 were not covered by tests

Check warning on line 832 in pkg/service/oidc4ci/oidc4ci_service.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/oidc4ci/oidc4ci_service.go#L832

Added line #L832 was not covered by tests

Check warning on line 64 in pkg/service/refresh/refresh.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/service/refresh/refresh.go#L64

Added line #L64 was not covered by tests