Skip to content

Commit

Permalink
Fixing FeedControllerTests.CorePartValuesAreExtracted
Browse files Browse the repository at this point in the history
  • Loading branch information
BenedekFarkas committed Apr 9, 2024
1 parent 1f57186 commit a751764
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using Orchard.Tests.Modules;
using Orchard.Tests.Stubs;
using Orchard.Core.Title.Models;
using Orchard.Services;

namespace Orchard.Core.Tests.Feeds.Controllers {
[TestFixture]
Expand Down Expand Up @@ -177,6 +178,7 @@ public void CorePartValuesAreExtracted() {
builder.RegisterInstance(mockContentManager.Object).As<IContentManager>();
builder.RegisterType<RssFeedBuilder>().As<IFeedBuilderProvider>();
builder.RegisterType<CorePartsFeedItemBuilder>().As<IFeedItemBuilder>();
builder.RegisterType<HtmlFilterProcessor>().As<IHtmlFilterProcessor>();
builder.RegisterInstance(query).As<IFeedQueryProvider>();
var container = builder.Build();

Expand Down

0 comments on commit a751764

Please sign in to comment.