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:
Andy Butland
2025-02-12 12:30:27 +01:00
committed by GitHub
parent 5322d0f7b5
commit 9227517a50
17 changed files with 417 additions and 93 deletions

View File

@@ -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();
}