Skip to content

Do not use deprecated plugin status command in tests - #340

Merged
swissspidy merged 1 commit into
mainfrom
fix/tests
Aug 5, 2026
Merged

Do not use deprecated plugin status command in tests#340
swissspidy merged 1 commit into
mainfrom
fix/tests

Conversation

@swissspidy

@swissspidy swissspidy commented Aug 5, 2026

Copy link
Copy Markdown
Member

Also ensures the test runs with SQLite, as upstream blocker no longer exists

Summary by CodeRabbit

  • Tests
    • Updated custom content directory verification to use a more reliable Akismet plugin check.
    • Expanded scenario compatibility beyond MySQL-only environments.

Also ensures the test runs with SQLite, as upstream blocker no longer exists
@swissspidy swissspidy added this to the 3.0.1 milestone Aug 5, 2026
@swissspidy
swissspidy requested a review from a team as a code owner August 5, 2026 08:43
@swissspidy swissspidy added the scope:testing Related to testing label Aug 5, 2026
Copilot AI lite review requested due to automatic review settings August 5, 2026 08:43
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c6b595c2-3412-44b3-80ea-ed080207c77a

📥 Commits

Reviewing files that changed from the base of the PR and between 01453b4 and 8ae8500.

📒 Files selected for processing (1)
  • features/core.feature

📝 Walkthrough

Walkthrough

The custom wp-content scenario now uses wp plugin get akismet and no longer requires MySQL.

Changes

Akismet verification

Layer / File(s) Summary
Update custom wp-content scenario
features/core.feature
The scenario removes the MySQL requirement and replaces wp plugin status akismet with wp plugin get akismet.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the primary change: replacing the deprecated plugin status command in tests.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the Behat acceptance coverage in core.feature to avoid relying on the deprecated wp plugin status subcommand, and removes the MySQL-only restriction so the scenario can run in SQLite environments now that the upstream blocker is no longer relevant.

Changes:

  • Removed the MySQL-only tag/comment that previously prevented the “Custom wp-content directory” scenario from running under SQLite.
  • Replaced wp plugin status akismet with wp plugin get akismet for verifying plugin visibility/output in that scenario.

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

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@swissspidy
swissspidy merged commit fe10efb into main Aug 5, 2026
67 of 68 checks passed
@swissspidy
swissspidy deleted the fix/tests branch August 5, 2026 09:03
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.

2 participants