Skip to content

Commit f9588d6

Browse files
committed
Update tests to match
1 parent be3a937 commit f9588d6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

features/scaffold-package-readme.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Feature: Scaffold a README.md file for an existing package
4040
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should exist
4141
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
4242
"""
43-
Installing this package requires WP-CLI v2.11 or greater. Update to the latest stable release with `wp cli update`.
43+
Installing this package requires WP-CLI v2.12 or greater. Update to the latest stable release with `wp cli update`.
4444
"""
4545
And the {PACKAGE_PATH}/local/wp-cli/default-readme/README.md file should contain:
4646
"""
@@ -76,7 +76,7 @@ Feature: Scaffold a README.md file for an existing package
7676
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should exist
7777
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should contain:
7878
"""
79-
Installing this package requires WP-CLI v2.11 or greater. Update to the latest stable release with `wp cli update`.
79+
Installing this package requires WP-CLI v2.12 or greater. Update to the latest stable release with `wp cli update`.
8080
"""
8181
And the {PACKAGE_PATH}/local/wp-cli/custom-branch/README.md file should contain:
8282
"""
@@ -152,10 +152,10 @@ Feature: Scaffold a README.md file for an existing package
152152
"files": [ "command.php" ]
153153
},
154154
"require": {
155-
"wp-cli/wp-cli": "^2.11"
155+
"wp-cli/wp-cli": "^2.12"
156156
},
157157
"require-dev": {
158-
"wp-cli/wp-cli-tests": "^4.3.9"
158+
"wp-cli/wp-cli-tests": "^5.0.0"
159159
},
160160
"extra": {
161161
"readme": {
@@ -333,7 +333,7 @@ Feature: Scaffold a README.md file for an existing package
333333
},
334334
"require-dev": {
335335
"wp-cli/wp-cli": "*",
336-
"wp-cli/wp-cli-tests": "^4.3.9"
336+
"wp-cli/wp-cli-tests": "^5.0.0"
337337
},
338338
"extra": {
339339
"bundled": true

features/scaffold-package.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Feature: Scaffold WP-CLI commands
3434
And the {PACKAGE_PATH}/local/wp-cli/foo/composer.json file should contain:
3535
"""
3636
"require": {
37-
"wp-cli/wp-cli": "^2.11"
37+
"wp-cli/wp-cli": "^2.12"
3838
},
3939
"""
4040
And the {PACKAGE_PATH}/local/wp-cli/foo/hello-world-command.php file should exist

0 commit comments

Comments
 (0)