Split force for publish descendants into separate options for publish unpublish and re-publish unedited (13) (#18249)
* Split force for publish descendents into separate options for publish unpublish and re-publish unedited. * Added integration task verifying updated behaviour. * Variant integration test. * Update test data controller. * Remove usued function parameters. * Refactor to enum. * Fixed flags enum. * Variable name refactor. * Applied changes from code review. * Refactored method name. * Aligned js boolean checks.
This commit is contained in:
@@ -86,7 +86,7 @@ public class UmbracoTestDataController : SurfaceController
|
||||
var imageIds = CreateMediaTree(company, faker, count, depth).ToList();
|
||||
var contentIds = CreateContentTree(company, faker, count, depth, imageIds, out var root).ToList();
|
||||
|
||||
Services.ContentService.SaveAndPublishBranch(root, true);
|
||||
Services.ContentService.SaveAndPublishBranch(root, PublishBranchFilter.IncludeUnpublished);
|
||||
|
||||
scope.Complete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user