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