Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMS-845] Don't recommend Native PHP Sessions if it's already installed #133

Merged
merged 19 commits into from
Sep 23, 2022

Conversation

jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Sep 20, 2022

This PR changes how the messenger class works for the Recommendation line to make it so if no action exists, no recommendation is given. It then changes the sessions sub-command to not define a recommended action if the plugin is already installed.

By necessity, this PR also updates some of the general behat tests (specifically around versions) which updated since the last time tests were run.

This PR also adds new behat tests for the wp launchcheck sessions subcommand which previously did not exist. The tests check output:

  • when the Native PHP Sessions plugin was not installed
  • when the Native PHP Sessions plugin is installed but not active (currently outputs the same message)
  • when the Native PHP Sessions plugin is installed and active

@jazzsequence jazzsequence marked this pull request as ready for review September 21, 2022 21:12
@jazzsequence jazzsequence requested a review from a team as a code owner September 21, 2022 21:12
@jazzsequence jazzsequence self-assigned this Sep 21, 2022
@rwagner00
Copy link

Looks good to me

@jazzsequence jazzsequence merged commit 6c16b79 into main Sep 23, 2022
@jazzsequence jazzsequence deleted the cms-845-native-php branch September 23, 2022 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants