Update tests to match

This commit is contained in:
Pascal Birchler 2025-07-04 11:44:45 +02:00
parent be3a937181
commit f9588d6ae3
No known key found for this signature in database
GPG key ID: 0DECE73DD74E8B2F
2 changed files with 6 additions and 6 deletions

View file

@ -40,7 +40,7 @@ Feature: Scaffold a README.md file for an existing package
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should exist
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
"""
Installing this package requires WP-CLI v2.11 or greater. Update to the latest stable release with `wp cli update`.
Installing this package requires WP-CLI v2.12 or greater. Update to the latest stable release with `wp cli update`.
"""
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
"""
@ -76,7 +76,7 @@ Feature: Scaffold a README.md file for an existing package
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should exist
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should contain:
"""
Installing this package requires WP-CLI v2.11 or greater. Update to the latest stable release with `wp cli update`.
Installing this package requires WP-CLI v2.12 or greater. Update to the latest stable release with `wp cli update`.
"""
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should contain:
"""
@ -152,10 +152,10 @@ Feature: Scaffold a README.md file for an existing package
"files": [ "command.php" ]
},
"require": {
"wp-cli/wp-cli": "^2.11"
"wp-cli/wp-cli": "^2.12"
},
"require-dev": {
"wp-cli/wp-cli-tests": "^4.3.9"
"wp-cli/wp-cli-tests": "^5.0.0"
},
"extra": {
"readme": {
@ -333,7 +333,7 @@ Feature: Scaffold a README.md file for an existing package
},
"require-dev": {
"wp-cli/wp-cli": "*",
"wp-cli/wp-cli-tests": "^4.3.9"
"wp-cli/wp-cli-tests": "^5.0.0"
},
"extra": {
"bundled": true

View file

@ -34,7 +34,7 @@ Feature: Scaffold WP-CLI commands
And the {PACKAGE_PATH}/local/wp-cli/foo/composer.json file should contain:
"""
"require": {
"wp-cli/wp-cli": "^2.11"
"wp-cli/wp-cli": "^2.12"
},
"""
And the {PACKAGE_PATH}/local/wp-cli/foo/hello-world-command.php file should exist