Skip to content

Commit

Permalink
[v10] Fix BlogServiceTests
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanjthompson committed Sep 4, 2023
1 parent 6fdf6ec commit 9eb9d41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gibe.Umbraco.Blog.Tests/BlogServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public void SetUp()
{
_pagerService = new Mock<IPagerService>();
_blogPostMapper = new Mock<IBlogPostMapper<BlogModel>>();
_blogPostMapper.Setup(x => x.ToBlogPosts(It.IsAny<IEnumerable<ISearchResult>>(), It.IsAny<IPublishedValueFallback>()))
.Returns((IEnumerable<ISearchResult> results, IPublishedValueFallback fb) => results.Select(x => new BlogModel()));
}

[Test]
Expand Down

0 comments on commit 9eb9d41

Please sign in to comment.