goharbor / goharbor/harbor-cli

Adds Comprehensive Unit Tests for API Type Structures

Open
#642 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
163
Forks
211
Avg merge
1m
Merged PRs (30d)
1

Description

This issue tracks the addition of comprehensive unit tests for API type structures defined in `pkg/api/types.go`.
Previously, the `pkg/api` package had **no test coverage**.

This work improves reliability and helps prevent regressions in API-related code.

### Changes
- Add `pkg/api/types_test.go`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.