Exemple #1
0
        public void ApiUserByNamePatchTestWithRights()
        {
            string name          = Common.UserName;
            string authorization = Common.AdminAuth;
            var    newPass       = name + "123";
            User   item          = new User(name, newPass);

            instance.ApiUserByNamePatch(name, authorization, item);

            var user = instance.ApiUserByNameGet(name, authorization);

            Assert.AreEqual(newPass, user.Password);
        }