public async void FilmCommentIdFilmIsEmpty() { // Arrange bool filmCommentResponse; FilmComment filmComment = new Domain.Entities.FilmComment() { Content = "Comentario de la película", UserId = "", FilmId = 399566, CommentType = (Domain.Enums.CommentType) 1 }; // Act filmCommentResponse = await filmCommenService.SetComment(filmComment); //Assert Assert.False(filmCommentResponse); }
public async void FilmCommentContentIsNotEmpty() { // Arrange bool filmCommentResponse; FilmComment filmComment = new Domain.Entities.FilmComment() { Content = "Comentario de la película", UserId = "0a92d309-7651-46df-bd7e-f9a9a51fe3be", FilmId = 399566, CommentType = (Domain.Enums.CommentType) 1 }; // Act filmCommentResponse = await filmCommenService.SetComment(filmComment); //Assert Assert.True(filmCommentResponse); }