Files
Umbraco-CMS/tests/Umbraco.Tests.Integration
yv01p 0e395cc56f refactor(core): clean up remaining internal methods in ContentService
Remove or simplify internal helper methods that are no longer needed
after service extraction.

Removed methods:
- GetAllPublished(): Was only used in tests, replaced with public query methods
- QueryNotTrashed field and property: No longer needed after GetAllPublished removal
- HasUnsavedChanges(): Duplicated in ContentPublishOperationService where it's used
- TryGetParentKey(): Duplicated in ContentMoveOperationService where it's used

Kept methods:
- Audit() and AuditAsync(): Still used by MoveToRecycleBin and DeleteOfTypes

Test refactoring:
- DeliveryApiContentIndexHelperTests.GetExpectedNumberOfContentItems() now uses
  public GetPagedDescendants method instead of internal GetAllPublished

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-24 20:20:24 +00:00
..