SetupCF logs into the CLI with LoginCF, creates the given org and space, and targets that org and space.
(org string, space string)
| 155 | // SetupCF logs into the CLI with LoginCF, creates the given org and space, and targets that |
| 156 | // org and space. |
| 157 | func SetupCF(org string, space string) { |
| 158 | LoginCF() |
| 159 | CreateOrgAndSpace(org, space) |
| 160 | TargetOrgAndSpace(org, space) |
| 161 | } |
| 162 | |
| 163 | // SetupCFWithOrgOnly logs into the CLI with LoginCF, creates the given org, and targets it. |
| 164 | func SetupCFWithOrgOnly(org string) { |
no test coverage detected