Пример #1
0
            public void VerifyBasicAuthenticationInvalidPassword()
            {
                var client = new TargetProcessClient(new BasicAuthenticator())
                {
                    ApiSiteInfo = new ApiSiteInfo(TargetProcessRoutes.Route.UserStories, true)
                };
                var data = client.GetSiteData();
                //authenticator.SiteInfo.Route = "UserStories";
                //var result = ApiSiteHelpers.GetSiteData(authenticator);
                var error = data.HttpResponse.IsError;
                //var data = result.Body;

                //authenticator.Authenticate(authenticator.ApiSiteInfo, authenticator.Credentials);
            }