Skip to content

Update behat-data URLs in tests#250

Merged
swissspidy merged 2 commits intomainfrom
chore/update-tests
Apr 30, 2026
Merged

Update behat-data URLs in tests#250
swissspidy merged 2 commits intomainfrom
chore/update-tests

Conversation

@swissspidy
Copy link
Copy Markdown
Member

@github-actions github-actions Bot added the scope:testing Related to testing label Apr 27, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the test asset URLs across several Behat feature files, migrating from http://wp-cli.org/behat-data/ to http://wp-cli.github.io/behat-data/. The feedback recommends using https:// for the new GitHub Pages URLs to enhance security and prevent potential redirects.

Comment thread features/media-import.feature
Comment thread features/media-regenerate.feature
Comment thread features/media-replace.feature
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@swissspidy swissspidy marked this pull request as ready for review April 27, 2026 11:13
@swissspidy swissspidy requested a review from a team as a code owner April 27, 2026 11:13
Copilot AI review requested due to automatic review settings April 27, 2026 11:13
Copy link
Copy Markdown
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

Updates Behat fixture URLs in the media-command feature tests in response to the wp-cli.org redirect work referenced in the PR description.

Changes:

  • Replaced http://wp-cli.org/behat-data/... URLs with http://wp-cli.github.io/behat-data/... across media-related Behat features.
  • Updated expected output strings in tests that assert on the imported remote URL.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
features/media-replace.feature Updates behat-data fixture URLs used by media replace scenarios.
features/media-regenerate.feature Updates behat-data fixture URLs used by media regenerate scenarios (including PDFs/videos).
features/media-prune.feature Updates behat-data fixture URLs used by media prune scenarios.
features/media-import.feature Updates behat-data fixture URLs used by media import scenarios and related assertions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread features/media-regenerate.feature
Comment thread features/media-prune.feature
Comment thread features/media-import.feature
Comment thread features/media-replace.feature
@swissspidy swissspidy merged commit 9f90fd9 into main Apr 30, 2026
62 checks passed
@swissspidy swissspidy deleted the chore/update-tests branch April 30, 2026 07:25
@swissspidy swissspidy added this to the 2.2.8 milestone Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants