Ejemplo n.º 1
0
 /// <summary>
 /// Creates a Comunity Manager and Logs that user in as well.
 /// Password used is same as that for Host. Existing user is used if it's already present.
 /// </summary>
 /// <returns>IWebApiConnector object to perform more actions</returns>
 public static IWebApiConnector LoginCommunityManager(string firstName = EvoqConstants.CmxFirstName, string lastName = EvoqConstants.CmxLastName, string url = null)
 {
     UserController.CreateCommunityManagerUser(firstName, lastName);
     return(WebApiTestHelper.LoginRegisteredUser(firstName, lastName));
 }
Ejemplo n.º 2
0
 public static IWebApiConnector LoginRegisteredUser(string firstName = IntegrationConstants.RuFirstName, string lastName = IntegrationConstants.RuLastName, string url = null)
 {
     UserController.CreateRegisteredUser(firstName, lastName);
     return(WebApiTestHelper.LoginRegisteredUser(firstName, lastName));
 }