Adds unit tests for the AddOrganization and AddAPIKey commands.
These tests validate various scenarios, including success cases,
handling of already existing organizations or keys, and ensuring
required fields are checked. The
changes enhance test coverage and ensure robustness of the command
logic.
Adds unit tests for the `AddOrganization` and `AddAPIKey` commands.
These tests validate various scenarios, including success cases,
handling of already existing organizations or keys, and ensuring
required fields are checked. The
changes enhance test coverage and ensure robustness of the command
logic.
argoyle
(Migrated from gitlab.com)
scheduled this pull request to auto merge when all checks succeed 2025-11-21 11:49:41 +00:00
❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
## [Codecov](https://app.codecov.io/gl/unboundsoftware/schemas/pull/634?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 37.23%. Comparing base ([`06aeedc`](https://app.codecov.io/gl/unboundsoftware/schemas/commit/06aeedc3b0e9d7917e63f6b8a00632ce52f18f74?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware)) to head ([`8620608`](https://app.codecov.io/gl/unboundsoftware/schemas/commit/862060875bdfbff19f6839baae3cc61c9a7a9f0a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #634 +/- ##
===========================================
+ Coverage 15.39% 37.23% +21.84%
===========================================
Files 45 45
Lines 2417 2417
===========================================
+ Hits 372 900 +528
+ Misses 2036 1478 -558
- Partials 9 39 +30
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gl/unboundsoftware/schemas/pull/634?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware).
:loudspeaker: Have feedback on the report? [Share it here](https://gitlab.com/codecov-open-source/codecov-user-feedback/-/issues/4).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds unit tests for the
AddOrganizationandAddAPIKeycommands.These tests validate various scenarios, including success cases,
handling of already existing organizations or keys, and ensuring
required fields are checked. The
changes enhance test coverage and ensure robustness of the command
logic.
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.23%. Comparing base (
06aeedc) to head (8620608).Additional details and impacted files
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
mentioned in commit
3b47365f10