SwitchToNoRole logs out of the CLI and logs back in as a newly-created user without a role.
()
| 180 | |
| 181 | // SwitchToNoRole logs out of the CLI and logs back in as a newly-created user without a role. |
| 182 | func SwitchToNoRole() string { |
| 183 | username, password := CreateUser() |
| 184 | LogoutCF() |
| 185 | LoginAs(username, password) |
| 186 | return username |
| 187 | } |
| 188 | |
| 189 | // SwitchToOrgRole logs out of the CLI and logs back in as a newly-created user with the given |
| 190 | // org role in the given org. |
nothing calls this directly
no test coverage detected