Skip to content

FIX Allow recipe-testing ^5 - #194

Merged
emteknetnz merged 1 commit into
silverstripe:3.2from
BrookeNZ:pulls/3.2/recipe-testing-5
Nov 25, 2026
Merged

emteknetnz merged 1 commit into
silverstripe:3.2from
BrookeNZ:pulls/3.2/recipe-testing-5

Conversation

@BrookeNZ

@BrookeNZ BrookeNZ commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds ^5 to the silverstripe/recipe-testing constraint that end-to-end jobs require. recipe-testing ^2, ^3 and ^4 need framework ^4.10, ^5 and ^6, so on a CMS 7 branch Composer cannot resolve and every end-to-end job fails before Behat runs, for example in silverstripe-cms run 45504598865. The same change as #109 for CMS 6.

Manual testing steps

  1. Save the composer.json printed in the log of an end-to-end job in silverstripe-cms run 45504598865, and set COMPOSER_ROOT_VERSION=7.x-dev.
  2. composer require "silverstripe/recipe-testing:^2 || ^3 || ^4" --dev --no-update, then composer update --dry-run --no-install - the same "could not be resolved" error as CI.
  3. Repeat with ^2 || ^3 || ^4 || ^5 - resolves to recipe-testing 5.x-dev and behat-extension 7.x-dev, on platform PHP 8.3 and 8.5.

Pull request checklist

  • The target branch is correct
  • All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)
  • The commit messages follow our commit message guidelines
  • The PR follows our contribution guidelines
  • Code changes follow our coding conventions
  • This change is covered with tests (or tests aren't necessary for this change)
  • Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release
  • CI is green

@emteknetnz
emteknetnz merged commit 540e68b into silverstripe:3.2 Nov 25, 2026
2 checks passed
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