Example #1
0
        public async void ChangeUserDataTest_ForSignedPlayer_ShouldChangeUserData()
        {
            var dto = new PlayerProfileDto()
            {
                Name        = "programuje w dotnecie",
                Description = "juz trzecie stulecie",
                Email       = "*****@*****.**",
            };
            await controller.ChangeUserData(dto);

            Assert.Equal(player.Name, dto.Name);
            Assert.Equal(player.Description, dto.Description);
            Assert.Equal(player.User.Email, dto.Email);
        }