public void TestLoginValidCredentials() { var SoapService = new AuthenticationServiceSOAP(); var validationResults = SoapService.AuthenticateUser(new Models.UserDetails() { Password = "******", UserName = "******" }); Assert.True(validationResults.IsAuthenticated); }
public void TestLoginValidCredentialsAndGroups() { var SoapService = new AuthenticationServiceSOAP(); var validationResults = SoapService.AuthenticateUserAndGetGroupMemberships(new Models.UserDetails() { Password = "******", UserName = "******" }); Assert.True(validationResults.IsAuthenticated && validationResults.ListOfADGroups.Count > 0); }