QuickDeleteApp deletes the app with the given name, if provided, using 'cf curl /v3/app... -X DELETE'.
(appName string)
| 24 | // QuickDeleteApp deletes the app with the given name, if provided, using |
| 25 | // 'cf curl /v3/app... -X DELETE'. |
| 26 | func QuickDeleteApp(appName string) { |
| 27 | guid := AppGUID(appName) |
| 28 | url := fmt.Sprintf("/v3/apps/%s", guid) |
| 29 | session := CF("curl", "-X", "DELETE", url) |
| 30 | Eventually(session).Should(Exit(0)) |
| 31 | } |
| 32 | |
| 33 | // WithHelloWorldApp creates a simple application to use with your CLI command |
| 34 | // (typically CF Push). When pushing, be aware of specifying '-b |
no test coverage detected