Skip to content

Conversation

@nikolajlauridsen
Copy link
Contributor

The new integration tests in #20554 are broken in V17 due to a breaking change in the PublishAsync method, this PR updates the integration tests to use ICollection<CulturePublishScheduleModel> instead of CultureAndScheduleModel

Copilot AI review requested due to automatic review settings October 21, 2025 08:26
@nikolajlauridsen nikolajlauridsen added the release/no-notes Not directly part of the release (updating README, build scripts, tests, etc.) label Oct 21, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes broken integration tests in the V17 release by updating the test setup code to accommodate a breaking change in the PublishAsync method's API signature, replacing the deprecated CultureAndScheduleModel with ICollection<CulturePublishScheduleModel>.

Key Changes:

  • Updated the CultureAndSchedule property type from CultureAndScheduleModel to ICollection<CulturePublishScheduleModel>
  • Simplified the culture and schedule initialization using collection expression syntax
  • Removed the now-unused ContentSchedule property

@kjac kjac enabled auto-merge (squash) October 21, 2025 10:19
@kjac kjac merged commit 1099332 into release/17.0 Oct 21, 2025
21 checks passed
@kjac kjac deleted the v17/hotfix/fix-broken-integration-test branch October 21, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/no-notes Not directly part of the release (updating README, build scripts, tests, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants