Esempio n. 1
0
        public void AddNewUserTest()
        {
            var user = new UserDto()
            {
                Id       = Guid.NewGuid(),
                Name     = "TestUser",
                Password = "******",
                Roles    = "PAGE_1;PAGE_2;PAGE_3;Admin"
            };
            var userAdded = _userDomainService.AddNewUser(user).Result;

            Assert.IsNotNull(userAdded);
        }