Beispiel #1
0
        public void GivenAuthorizateExistingClientUsingApiRequestPOSTAuthAuth_Client()
        {
            var userData = new Response();
            var user     = new Dictionary <string, string>
            {
                { "email", userData.Email },
                { "password", Constants.Password }
            };

            var authrequest = AuthReguests.SendRequestClientSingUpPost(user);

            _scenarioContext.Add("Auth", authrequest);
        }
Beispiel #2
0
        public void IsendTheRequestPostTorouteRegistrationWithValidBody()
        {
            var createUser = AuthReguests.SendRequestClientSingUpPost(new Dictionary <string, string>
            {
                { "email", $"asda2sd2asd{DateTime.Now:ddyyyymmHHmmssffff}@asdasd.ert" },
                { "first_name", "asdasdasd" },
                { "last_name", "asdasdasd" },
                { "password", Constants.Password },
                { "phone_number", "3453453454" }
            });

            _scenarioContext.Add(Context.User, createUser);
        }