mirror of
https://ghproxy.net/https://github.com/wp-cli/scaffold-package-command.git
synced 2025-08-18 05:21:22 +08:00
Update tests to match
This commit is contained in:
parent
be3a937181
commit
f9588d6ae3
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue