mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #708] [MERGED] test(cli): add critical delete-path coverage #730
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#730
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/708
Author: @rudrankriyam
Created: 2/21/2026
Status: ✅ Merged
Merged: 2/21/2026
Merged by: @rudrankriyam
Base:
main← Head:test/critical-delete-coverage📝 Commits (1)
80bac33test(cli): harden delete path coverage📊 Changes
3 files changed (+284 additions, -0 deletions)
View changed files
📝
internal/asc/client_http_test.go(+68 -0)📝
internal/cli/cmdtest/commands_test.go(+20 -0)➕
internal/cli/cmdtest/delete_commands_output_test.go(+196 -0)📄 Description
Summary
localizations screenshot-sets deleteandversions delete(required flag validation, success output, and API error propagation).--id/--confirmcases for the new and existing destructive commands.DeleteAppStoreVersion,DeleteSubscriptionGroup,DeleteSubscription, andDeleteUser.Test plan
go test ./internal/cli/cmdtest -run "LocalizationsScreenshotSetsDelete|VersionsDelete|LocalizationsValidationErrors|VersionsValidationErrors" -count=1go test ./internal/asc -run "DeleteAppStoreVersion|DeleteSubscriptionGroup|DeleteSubscription|DeleteUser_SendsRequest" -count=1make formatmake lintASC_BYPASS_KEYCHAIN=1 make test🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.