idbeta commented on issue #728:
URL: 
https://github.com/apache/apisix-dashboard/issues/728#issuecomment-734774685


   here is test case
   ```
   {
        caseDesc:     "delete upstream - being used by route 1",
        Object:       MangerApiExpect(t),
        Method:       http.MethodDelete,
        Path:         "/apisix/admin/upstreams/1",
        Headers:      map[string]string{"Authorization": token},
        ExpectStatus: http.StatusBadRequest,
   },
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to