Returns the username of the selected test account.
(&self, i: u8)
| 549 | |
| 550 | /// Returns the username of the selected test account. |
| 551 | pub(crate) fn get_username(&self, i: u8) -> String { |
| 552 | env::var(format!("TEST_ACCOUNT_{}_USERNAME", i)).expect("Expected env config not found") |
| 553 | } |
| 554 | |
| 555 | /// Authenticates against the server using the username and password passed in via |
| 556 | /// environment variables. We need to support multiple test accounts at the same time, so |