in server/src/jetbrains/buildServer/vsoRooms/rest/impl/VSOTeamRoomsAPIImpl.java [24:34]
public String testConnection(@NotNull String account, @NotNull String username, @NotNull String password) {
final VSOTeamRoomsAPIConnection apiConnection = createConnection(username, password);
try{
if(apiConnection.getListOfRooms(account).isEmpty())
return String.format("Found no team rooms for account %s", account);
} catch (Exception ex){
LOG.debug(String.format("Failed to list team rooms of account %s", account), ex);
return ex.getMessage();
}
return null;
}