cli/pkg/cmd/repo/autolink/delete
Babak K. Shandiz 284880c21e
Fix StatusJSONResponse usage (#10810)
* Fix `StatusJSONResponse` usage

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Replace `assert` with `require`

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Improve assertion against errors

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Add `JSONErrorResponse` helper func

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Use `httpmock.JSONErrorResponse`

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Replace `StatusJSONResponse` to `JSONErrorResponse` for better readibility

Signed-off-by: Babak K. Shandiz <babakks@github.com>

* Fix improper use of `StatsJSONResponse`

Signed-off-by: Babak K. Shandiz <babakks@github.com>

---------

Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-01 20:22:43 +01:00
..
delete.go Handle non-TTY behavior 2025-02-07 16:27:04 -05:00
delete_test.go Handle non-TTY behavior 2025-02-07 16:27:04 -05:00
http.go Initial working implementation 2025-02-01 11:09:00 -05:00
http_test.go Fix StatusJSONResponse usage (#10810) 2025-05-01 20:22:43 +01:00