Skip to content

Commit f00f441

Browse files
committed
Update wp-cli-tests
1 parent bdd7ee3 commit f00f441

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"wp-cli/entity-command": "^1.2 || ^2",
2222
"wp-cli/extension-command": "^1.1 || ^2",
2323
"wp-cli/package-command": "^1 || ^2",
24-
"wp-cli/wp-cli-tests": "dev-try/210-http-mocking"
24+
"wp-cli/wp-cli-tests": "^4.3.7"
2525
},
2626
"suggest": {
2727
"ext-readline": "Include for a better --prompt implementation",

features/cli-check-update.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Feature: Check for updates
22

33
Scenario: Ignores updates with a higher PHP version requirement
4-
Given an HTTP request to https://api.github.com/repos/wp-cli/wp-cli/releases?per_page=100 with this response:
4+
Given that HTTP requests to https://api.github.com/repos/wp-cli/wp-cli/releases?per_page=100 will respond with:
55
"""
66
HTTP/1.1 200
77
Content-Type: application/json
@@ -130,7 +130,7 @@ Feature: Check for updates
130130
]
131131
"""
132132

133-
And an HTTP request to wp-cli-999.9.9.manifest.json with this response:
133+
And that HTTP requests to wp-cli-999.9.9.manifest.json will respond with:
134134
"""
135135
HTTP/1.1 200
136136
Content-Type: application/json
@@ -140,7 +140,7 @@ Feature: Check for updates
140140
}
141141
"""
142142

143-
And an HTTP request to wp-cli-777.7.7.manifest.json with this response:
143+
And that HTTP requests to wp-cli-777.7.7.manifest.json will respond with:
144144
"""
145145
HTTP/1.1 200
146146
Content-Type: application/json

0 commit comments

Comments
 (0)