Skip to content

Commit f1a1b5b

Browse files
Copilotswissspidy
andcommitted
Add test coverage for --skip-update-check flag in package get command
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 1f733da commit f1a1b5b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎features/package.feature‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,3 +280,17 @@ Feature: Manage WP-CLI packages
280280
"""
281281
"version"
282282
"""
283+
284+
When I run `wp package get runcommand/hook --skip-update-check --fields=name,update,update_version`
285+
Then STDOUT should contain:
286+
"""
287+
runcommand/hook
288+
"""
289+
And STDOUT should contain:
290+
"""
291+
none
292+
"""
293+
And STDOUT should not contain:
294+
"""
295+
available
296+
"""

0 commit comments

Comments
 (0)