public void DeleteReview_WhenDeletedWithExistingId_ReturnsOkResult() { var okResult = _controller.DeleteReview(1, 1); var result = Assert.IsType <OkObjectResult>(okResult); Assert.Equal(200, result.StatusCode); }
public void DeleteReview_WhenDeletedWithExistingId_ReturnsOkResult() { var okResult = _controller.DeleteReview(1, 1); var result = Assert.IsType <OkObjectResult>(okResult); Assert.Equal(200, result.StatusCode); }