Published status filtering (#18281)
* Initial refactor (pending more tests) * Fix structural querying across changing publish states + add tests accordingly * Add tests to validate ancestor and descendant order * Remove axis querying from published status filtering --------- Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com>
This commit is contained in:
@@ -98,9 +98,8 @@ public class HtmlImageSourceParserTests
|
||||
new UrlProviderCollection(() => Enumerable.Empty<IUrlProvider>()),
|
||||
new MediaUrlProviderCollection(() => new[] { mediaUrlProvider.Object }),
|
||||
Mock.Of<IVariationContextAccessor>(),
|
||||
Mock.Of<IPublishedContentCache>(),
|
||||
Mock.Of<IDocumentNavigationQueryService>(),
|
||||
Mock.Of<IPublishStatusQueryService>());
|
||||
Mock.Of<IPublishedContentStatusFilteringService>());
|
||||
|
||||
using (var reference = umbracoContextFactory.EnsureUmbracoContext())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user